diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-07-09 23:53:01 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-07-09 23:53:01 +1000 |
| commit | 2c9feb7544a3c3e226f5db4ef8cfd68642c5d781 (patch) | |
| tree | f5d347cab8d05001ea4bed734008e9359c2aa91d /modules/bar/Bar.qml | |
| parent | dashboard: sleep cava (diff) | |
| download | caelestia-shell-2c9feb7544a3c3e226f5db4ef8cfd68642c5d781.tar.gz caelestia-shell-2c9feb7544a3c3e226f5db4ef8cfd68642c5d781.tar.bz2 caelestia-shell-2c9feb7544a3c3e226f5db4ef8cfd68642c5d781.zip | |
internal: fix scrolling for high res devices
Implements first part of #202
Diffstat (limited to 'modules/bar/Bar.qml')
| -rw-r--r-- | modules/bar/Bar.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/bar/Bar.qml b/modules/bar/Bar.qml index 5a8f598..13eb7ba 100644 --- a/modules/bar/Bar.qml +++ b/modules/bar/Bar.qml @@ -96,12 +96,12 @@ Item { implicitWidth: workspacesInner.implicitWidth + Appearance.padding.small * 2 implicitHeight: workspacesInner.implicitHeight + Appearance.padding.small * 2 - MouseArea { + CustomMouseArea { anchors.fill: parent anchors.leftMargin: -Config.border.thickness anchors.rightMargin: -Config.border.thickness - onWheel: event => { + function onWheel(event: WheelEvent): void { const activeWs = Hyprland.activeToplevel?.workspace?.name; if (activeWs?.startsWith("special:")) Hyprland.dispatch(`togglespecialworkspace ${activeWs.slice(8)}`); |