trying to fix window issues

This commit is contained in:
Frank Skare
2021-06-17 17:46:17 +02:00
parent ebacaa0341
commit 446d88e16a
3 changed files with 23 additions and 24 deletions

View File

@@ -68,7 +68,6 @@ namespace mpvnet
public event Action Initialized;
public event Action InitializedAsync;
public event Action VideoSizeChanged;
public event Action VideoSizeChangedAsync;
public event Action<float> ScaleWindow;
@@ -349,8 +348,6 @@ namespace mpvnet
if (WindowHandle == IntPtr.Zero)
WindowHandle = Native.FindWindowEx(MainForm.Hwnd, IntPtr.Zero, "mpv", null);
//System.Diagnostics.Debug.WriteLine(evt.event_id.ToString());
try
{
switch (evt.event_id)