summaryrefslogtreecommitdiff
path: root/modules/bar/Bar.qml
diff options
context:
space:
mode:
Diffstat (limited to 'modules/bar/Bar.qml')
-rw-r--r--modules/bar/Bar.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/bar/Bar.qml b/modules/bar/Bar.qml
index 7ed733e..22f21dd 100644
--- a/modules/bar/Bar.qml
+++ b/modules/bar/Bar.qml
@@ -97,8 +97,8 @@ Item {
CustomMouseArea {
anchors.fill: parent
- anchors.leftMargin: -Config.border.thickness
- anchors.rightMargin: -Config.border.thickness
+ anchors.leftMargin: -Math.max(Appearance.padding.smaller, Config.border.thickness)
+ anchors.rightMargin: -Math.max(Appearance.padding.smaller, Config.border.thickness)
function onWheel(event: WheelEvent): void {
const activeWs = Hyprland.activeToplevel?.workspace?.name;