From bf558cfe83c48b0020485ddc001adebdd93ca248 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Sat, 9 Aug 2025 17:33:16 +1000 Subject: bar: better scroll actions Also fix workspaces interaction area --- modules/bar/Bar.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/bar/Bar.qml') 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; -- cgit v1.2.3-freya