diff options
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/drawers/Drawers.qml | 35 | ||||
| -rw-r--r-- | modules/drawers/Interactions.qml | 1 |
2 files changed, 22 insertions, 14 deletions
diff --git a/modules/drawers/Drawers.qml b/modules/drawers/Drawers.qml index 648e280..858a47d 100644 --- a/modules/drawers/Drawers.qml +++ b/modules/drawers/Drawers.qml @@ -122,25 +122,32 @@ Variants { panels: panels bar: bar - Panels { - id: panels + // FIXME: remove when Hyprland bug fixed + Item { + anchors.fill: parent + anchors.rightMargin: 1 + anchors.bottomMargin: 1 - screen: scope.modelData - visibilities: visibilities - bar: bar - } + Panels { + id: panels + + screen: scope.modelData + visibilities: visibilities + bar: bar + } - BarWrapper { - id: bar + BarWrapper { + id: bar - anchors.top: parent.top - anchors.bottom: parent.bottom + anchors.top: parent.top + anchors.bottom: parent.bottom - screen: scope.modelData - visibilities: visibilities - popouts: panels.popouts + screen: scope.modelData + visibilities: visibilities + popouts: panels.popouts - Component.onCompleted: Visibilities.bars.set(scope.modelData, this) + Component.onCompleted: Visibilities.bars.set(scope.modelData, this) + } } } } diff --git a/modules/drawers/Interactions.qml b/modules/drawers/Interactions.qml index 2783f37..337b0ff 100644 --- a/modules/drawers/Interactions.qml +++ b/modules/drawers/Interactions.qml @@ -54,6 +54,7 @@ CustomMouseArea { } anchors.fill: parent + // FIXME: remove when Hyprland bug fixed anchors.rightMargin: -1 anchors.bottomMargin: -1 hoverEnabled: true |