[vlc-commits] [Git][videolan/vlc][master] qml: activate item layer when transitions are running in MainDisplay and Player

Steve Lhomme (@robUx4) gitlab at videolan.org
Mon Oct 24 16:06:43 UTC 2022



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
edb16056 by Fatih Uzunoglu at 2022-10-24T15:38:25+00:00
qml: activate item layer when transitions are running in MainDisplay and Player

- - - - -


2 changed files:

- modules/gui/qt/maininterface/qml/MainDisplay.qml
- modules/gui/qt/player/qml/Player.qml


Changes:

=====================================
modules/gui/qt/maininterface/qml/MainDisplay.qml
=====================================
@@ -135,6 +135,8 @@ FocusScope {
             MainCtx.sendHotkey(event.key, event.modifiers);
     }
 
+    layer.enabled: (StackView.status === StackView.Deactivating || StackView.status === StackView.Activating)
+
     readonly property var pageModel: [
         {
             listed: MainCtx.mediaLibraryAvailable,


=====================================
modules/gui/qt/player/qml/Player.qml
=====================================
@@ -60,6 +60,8 @@ FocusScope {
 
     property bool _keyPressed: false
 
+    layer.enabled: (StackView.status === StackView.Deactivating || StackView.status === StackView.Activating)
+
     // Events
 
     Component.onCompleted: MainCtx.preferHotkeys = true



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/edb1605662304ebdc4624b20af4ed95451d33225

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/edb1605662304ebdc4624b20af4ed95451d33225
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list