-
This commit is contained in:
@@ -70,6 +70,10 @@ https://github.com/stax76/mpv.net/wiki/Scripting-(CSharp,-Python,-JavaScript,-Lu
|
||||
|
||||
### Changelog
|
||||
|
||||
### 2.9 (2019-
|
||||
|
||||
- clicking the right top corner in fullscreen mode closes the player but it did not work on all displays
|
||||
|
||||
### 2.8 (2019-04-12)
|
||||
|
||||
- Win 7 dark-mode render issue fix
|
||||
|
||||
@@ -378,11 +378,7 @@ namespace mpvnet
|
||||
Native.PostMessage(Handle, 0xA1 /* WM_NCLBUTTONDOWN */, HTCAPTION, IntPtr.Zero);
|
||||
}
|
||||
|
||||
var sb = Screen.FromControl(this).Bounds;
|
||||
var p1 = new Point(sb.Width, 0);
|
||||
var p2 = PointToScreen(e.Location);
|
||||
|
||||
if (Math.Abs(p1.X - p2.X) < 10 && Math.Abs(p1.Y - p2.Y) < 10)
|
||||
if (Width - e.Location.X < 10 && e.Location.Y < 10)
|
||||
mp.commandv("quit");
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 214 KiB After Width: | Height: | Size: 150 KiB |
Reference in New Issue
Block a user