From 3a9db3d163a14c3e7d4cc060242eb73841b686f9 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Mon, 15 Sep 2025 22:06:54 +1000 Subject: internal: remove workaround for hyprland bug --- modules/drawers/Drawers.qml | 35 ++++++++++++++--------------------- 1 file changed, 14 insertions(+), 21 deletions(-) (limited to 'modules/drawers/Drawers.qml') 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) } } } -- cgit v1.2.3-freya