diff --git a/bar/modules/Logo.qml b/bar/modules/Logo.qml index f171fd7..2601657 100644 --- a/bar/modules/Logo.qml +++ b/bar/modules/Logo.qml @@ -19,8 +19,6 @@ ModuleChip { onLauncherActiveChanged: { spinTarget += launcherActive ? 360 : -360 - if (launcherActive && !clickAnim.running) - clickAnim.restart() } width: Cfg.Config.logoIconSize * 2 + 4 @@ -35,20 +33,12 @@ ModuleChip { TapHandler { onTapped: { - clickAnim.restart() if (root.targetScreen && root.targetScreen.launcher) { root.targetScreen.launcher.toggle() } } } - SequentialAnimation { - id: clickAnim - NumberAnimation { target: logoText; property: "scale"; from: 1.0; to: 0.7; duration: 60; easing.type: Easing.OutQuad } - NumberAnimation { target: logoText; property: "scale"; from: 0.7; to: 1.2; duration: 150; easing.type: Easing.OutBack } - NumberAnimation { target: logoText; property: "scale"; to: 1.0; duration: 100 } - } - Text { id: logoText anchors.centerIn: parent @@ -59,12 +49,6 @@ ModuleChip { Behavior on color { ColorAnimation { duration: 250 } } - scale: clickAnim.running ? logoText.scale : 1.0 - Behavior on scale { - enabled: !clickAnim.running - NumberAnimation { duration: 250; easing.type: Easing.OutBack } - } - rotation: root.spinTarget Behavior on rotation { NumberAnimation { diff --git a/config/config.qml b/config/config.qml index 853a7a7..b81eea6 100644 --- a/config/config.qml +++ b/config/config.qml @@ -19,7 +19,7 @@ QtObject { // ──────────────────────────────────────────────────────────────────────── // ── Position & Dimensions ───────────────────────────────────────────────── - property string barPosition: "top" + property string barPosition: "bottom" property int barHeight: 35 property int margin: 20 property int radius: 26