Replies: 1 comment 7 replies
-
diff --git a/src/uosc/lib/cursor.lua b/src/uosc/lib/cursor.lua
index c1600ed..223e9c0 100644
--- a/src/uosc/lib/cursor.lua
+++ b/src/uosc/lib/cursor.lua
@@ -259,7 +259,6 @@ function cursor:leave() self:move(math.huge, math.huge) end
function cursor:is_autohide_allowed()
return options.autohide and (not self.autohide_fs_only or state.fullscreen) and
- not (self.mbtn_left_dbl_enabled or self.mbtn_right_enabled or self.wheel_enabled) and
not Menu:is_open()
end
mp.observe_property('cursor-autohide-fs-only', 'bool', function(_, val) cursor.autohide_fs_only = val end) |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I think the mpv.net's feature, that the OSC automatically hides, even when the mouse is within the functional area (e.g., over the timeline bar or thumbfast display) and not in motion, is very convenient. But I don't know how to achieve this feature in your uosc. (mpv.net has a terrible subtitle system, so I replace it by another mpv fork, hooke007/MPV_lazy, using your uosc)
I study the portable_config/script-opts/osc.conf, but I couldn't find the correct parameter. I'm really not good at coding, hoping you can give me some guidance.
Beta Was this translation helpful? Give feedback.
All reactions