Improved mouse cursor hide behavior
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
- New history-filter option added to define paths to be excluded from the history log feature.
|
||||
- New command to move the Window to the screen edge (Alt+Arrow) or center (Alt+BS).
|
||||
- Smaller OSD media info font size and more duplicated and obvious info removed from titles.
|
||||
- Improved mouse cursor hide behavior.
|
||||
- libmpv shinchiro 2022-08-11
|
||||
|
||||
input.conf changes:
|
||||
|
||||
@@ -1059,8 +1059,9 @@ namespace mpvnet
|
||||
LastCursorPosition = MousePosition;
|
||||
LastCursorChanged = Environment.TickCount;
|
||||
}
|
||||
else if (Environment.TickCount - LastCursorChanged > 1500 &&
|
||||
!IsMouseInOSC() && ClientRectangle.Contains(PointToClient(MousePosition)) &&
|
||||
else if (((Environment.TickCount - LastCursorChanged > 1500 &&
|
||||
!IsMouseInOSC()) || Environment.TickCount - LastCursorChanged > 5000) &&
|
||||
ClientRectangle.Contains(PointToClient(MousePosition)) &&
|
||||
ActiveForm == this && !ContextMenu.IsVisible && !IsCommandPaletteVissible())
|
||||
|
||||
CursorHelp.Hide();
|
||||
|
||||
Reference in New Issue
Block a user