diff options
Diffstat (limited to 'modules/drawers')
| -rw-r--r-- | modules/drawers/Drawers.qml | 35 | ||||
| -rw-r--r-- | modules/drawers/Interactions.qml | 3 |
2 files changed, 14 insertions, 24 deletions
diff --git a/modules/drawers/Drawers.qml b/modules/drawers/Drawers.qml index f0ef042..5e5e992 100644 --- a/modules/drawers/Drawers.qml +++ b/modules/drawers/Drawers.qml @@ -130,32 +130,25 @@ Variants { panels: panels bar: bar - // FIXME: remove when Hyprland bug fixed - Item { - anchors.fill: parent - anchors.rightMargin: 1 - anchors.bottomMargin: 1 + Panels { + id: panels - Panels { - id: panels - - screen: scope.modelData - visibilities: visibilities - bar: bar - } + 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 c76ce82..4eb46a5 100644 --- a/modules/drawers/Interactions.qml +++ b/modules/drawers/Interactions.qml @@ -54,9 +54,6 @@ CustomMouseArea { } anchors.fill: parent - // FIXME: remove when Hyprland bug fixed - anchors.rightMargin: -1 - anchors.bottomMargin: -1 hoverEnabled: true onPressed: event => dragStart = Qt.point(event.x, event.y) |