From b98d3833f83b36924b23b02ecd0387d52ada2835 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 15 May 2026 21:23:35 +0200 Subject: [PATCH] No zoom effect on clicks --- .../omarchy-shell/plugins/bar/common/WidgetButton.qml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/default/quickshell/omarchy-shell/plugins/bar/common/WidgetButton.qml b/default/quickshell/omarchy-shell/plugins/bar/common/WidgetButton.qml index 1857109e..3b5f8891 100644 --- a/default/quickshell/omarchy-shell/plugins/bar/common/WidgetButton.qml +++ b/default/quickshell/omarchy-shell/plugins/bar/common/WidgetButton.qml @@ -17,8 +17,6 @@ Item { property real textRotation: 0 property bool keepSpace: false property string tooltipText: "" - property real hoverScale: 1.0 - property real pressScale: 0.92 signal pressed(int button) signal wheelMoved(int delta) @@ -46,15 +44,10 @@ Item { rotation: root.textRotation horizontalAlignment: Text.AlignHCenter verticalAlignment: Text.AlignVCenter - scale: mouseArea.pressed ? root.pressScale : (mouseArea.containsMouse ? root.hoverScale : 1.0) Behavior on color { ColorAnimation { duration: 160 } } - - Behavior on scale { - NumberAnimation { duration: 110; easing.type: Easing.OutCubic } - } } MouseArea {