From a41ab9ad95b4f8e053af82741a45f747e77ff37a Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Sun, 23 Aug 2026 11:53:32 +0800 Subject: MouseArea: attempt to replace all MouseArea to modern non stealing alternative mousearea anchor.fill parent of item/slider etc. that doesn't have width or height won't work with the modern alternative so.. --- bar/Workspace.qml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bar/Workspace.qml') diff --git a/bar/Workspace.qml b/bar/Workspace.qml index 3120199..662b9e2 100644 --- a/bar/Workspace.qml +++ b/bar/Workspace.qml @@ -236,12 +236,12 @@ Item { if (activeIndex + 1 < Bar.wss) Hyprland.dispatch(`hl.dsp.focus({ workspace = '+1' })`); else - Hyprland.dispatch(`hl.dsp.focus({ workspace = '1' })`); + Hyprland.dispatch(`hl.dsp.focus({ workspace = '1' })`); } else if (event.angleDelta.y > 0) { if (activeIndex + 1 > 1) { - Hyprland.dispatch(`hl.dsp.focus({ workspace = '1' })`); + Hyprland.dispatch(`hl.dsp.focus({ workspace = '1' })`); } else if (Bar.wss > 1) { - Hyprland.dispatch(`hl.dsp.focus({ workspace = '${Bar.wss}' })`); + Hyprland.dispatch(`hl.dsp.focus({ workspace = '${Bar.wss}' })`); } } } -- cgit v1.2.3