Window size flicker issue fix when changing files

This commit is contained in:
Frank Skare
2021-09-23 19:46:38 +02:00
parent 38a816a255
commit 819b026ec7
4 changed files with 16 additions and 13 deletions

View File

@@ -1000,10 +1000,7 @@ namespace mpvnet
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e);
if (Core.GPUAPI != "vulkan")
Core.VideoSizeAutoResetEvent.WaitOne(App.StartThreshold);
Core.VideoSizeAutoResetEvent.WaitOne(App.StartThreshold);
LastCycleFullscreen = Environment.TickCount;
SetFormPosAndSize();
}