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 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).
|
- 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.
|
- 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
|
- libmpv shinchiro 2022-08-11
|
||||||
|
|
||||||
input.conf changes:
|
input.conf changes:
|
||||||
|
|||||||
@@ -1059,8 +1059,9 @@ namespace mpvnet
|
|||||||
LastCursorPosition = MousePosition;
|
LastCursorPosition = MousePosition;
|
||||||
LastCursorChanged = Environment.TickCount;
|
LastCursorChanged = Environment.TickCount;
|
||||||
}
|
}
|
||||||
else if (Environment.TickCount - LastCursorChanged > 1500 &&
|
else if (((Environment.TickCount - LastCursorChanged > 1500 &&
|
||||||
!IsMouseInOSC() && ClientRectangle.Contains(PointToClient(MousePosition)) &&
|
!IsMouseInOSC()) || Environment.TickCount - LastCursorChanged > 5000) &&
|
||||||
|
ClientRectangle.Contains(PointToClient(MousePosition)) &&
|
||||||
ActiveForm == this && !ContextMenu.IsVisible && !IsCommandPaletteVissible())
|
ActiveForm == this && !ContextMenu.IsVisible && !IsCommandPaletteVissible())
|
||||||
|
|
||||||
CursorHelp.Hide();
|
CursorHelp.Hide();
|
||||||
|
|||||||
Reference in New Issue
Block a user