1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-06-28 22:12:10 -04:00

feat(popouts): enhance hover functionality and introduce hover dismiss features

This commit is contained in:
purian23
2026-06-27 22:21:03 -04:00
parent 601d4104a3
commit a8c15fcde9
15 changed files with 1232 additions and 955 deletions
+9
View File
@@ -23,6 +23,7 @@ Item {
property bool showSettingsMenu: false
property string pendingSaveContent: ""
readonly property bool conflictBannerVisible: currentTab !== null && NotepadStorageService.conflictTabId === currentTab.id
readonly property bool anyModalOpen: fileDialogOpen || confirmationDialogOpen
property var slideout: null
property bool inPopout: false
property bool surfaceVisible: slideout ? slideout.isVisible : true
@@ -50,6 +51,14 @@ Item {
slideout.suppressOverlayLayer = fileDialogOpen;
}
Binding {
target: root.slideout
property: "hoverDismissSuspended"
value: root.anyModalOpen
when: root.slideout !== null
restoreMode: Binding.RestoreBindingOrValue
}
Connections {
target: slideout
enabled: slideout !== null