mouse cursor auto-hide behavior
This commit is contained in:
@@ -254,7 +254,7 @@ namespace mpvnet
|
|||||||
Point pos = PointToClient(MousePosition);
|
Point pos = PointToClient(MousePosition);
|
||||||
float top = 0;
|
float top = 0;
|
||||||
|
|
||||||
if (FormBorderStyle == FormBorderStyle.None)
|
if (!Core.Border)
|
||||||
top = ClientSize.Height * 0.1f;
|
top = ClientSize.Height * 0.1f;
|
||||||
|
|
||||||
return pos.Y > ClientSize.Height * 0.78 || pos.Y < top;
|
return pos.Y > ClientSize.Height * 0.78 || pos.Y < top;
|
||||||
|
|||||||
Reference in New Issue
Block a user