mirror of
https://github.com/end-4/dots-hyprland.git
synced 2026-06-07 07:49:28 -05:00
left sidebar: consider closed when floating window is closed
This commit is contained in:
@@ -127,8 +127,12 @@ Scope { // Scope
|
||||
|
||||
sourceComponent: FloatingWindow {
|
||||
id: detachedSidebarRoot
|
||||
visible: GlobalStates.sidebarLeftOpen
|
||||
property var contentParent: detachedSidebarBackground
|
||||
|
||||
visible: GlobalStates.sidebarLeftOpen
|
||||
onVisibleChanged: {
|
||||
if (!visible) GlobalStates.sidebarLeftOpen = false;
|
||||
}
|
||||
|
||||
Rectangle {
|
||||
id: detachedSidebarBackground
|
||||
|
||||
Reference in New Issue
Block a user