mouse cursor auto-hide behavior

This commit is contained in:
stax76
2022-08-19 07:13:07 +02:00
parent 95e31a1d3f
commit 22960af78b

View File

@@ -254,7 +254,7 @@ namespace mpvnet
Point pos = PointToClient(MousePosition);
float top = 0;
if (FormBorderStyle == FormBorderStyle.None)
if (!Core.Border)
top = ClientSize.Height * 0.1f;
return pos.Y > ClientSize.Height * 0.78 || pos.Y < top;