Skip to content

Commit

Permalink
fixing: popup preview area is freeze unexpectedly #47
Browse files Browse the repository at this point in the history
  • Loading branch information
bartekmotyl committed Apr 10, 2022
1 parent 96aaf68 commit fbc8b12
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/SimpleVideoCutter/MainForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -846,9 +846,8 @@ private void timerHoverPositionChanged_Tick(object sender, EventArgs e)
videoViewHover.Location = new Point(
posX,
videoCutterTimeline1.Location.Y - videoViewHover.Height - 5);

videoViewHover.MediaPlayer.Position = posFloat;

// see popup preview area is freeze unexpectedly #47
ThreadPool.QueueUserWorkItem((state) => videoViewHover.MediaPlayer.Position = posFloat);
}
else
{
Expand Down

0 comments on commit fbc8b12

Please sign in to comment.