[vlc-commits] qml: show sliderbar handle when it has focus
Fatih Uzunoglu
git at videolan.org
Tue Jan 12 13:21:04 UTC 2021
vlc | branch: master | Fatih Uzunoglu <fuzun54 at outlook.com> | Fri Jan 8 00:37:05 2021 +0300| [87551ae768ddf3ebf059c35910f4bdd9e127b83d] | committer: Pierre Lamot
qml: show sliderbar handle when it has focus
Signed-off-by: Pierre Lamot <pierre at videolabs.io>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=87551ae768ddf3ebf059c35910f4bdd9e127b83d
---
modules/gui/qt/player/qml/SliderBar.qml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gui/qt/player/qml/SliderBar.qml b/modules/gui/qt/player/qml/SliderBar.qml
index 4fe49c26de..b3eee4d6af 100644
--- a/modules/gui/qt/player/qml/SliderBar.qml
+++ b/modules/gui/qt/player/qml/SliderBar.qml
@@ -261,6 +261,6 @@ Slider {
}
]
- state: isMiniplayer ? (control.hovered ? "visible" : "hidden") : undefined
+ state: isMiniplayer ? ((control.hovered || control.activeFocus) ? "visible" : "hidden") : undefined
}
}
More information about the vlc-commits
mailing list