From d329949fc83549a858afb1f7d57fd8ae60e38db8 Mon Sep 17 00:00:00 2001 From: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> Date: Thu, 19 Jun 2025 17:03:44 +1000 Subject: input: ripple anim for all buttons Also fix up colours for some statelayers Fix urgent notif action colours --- modules/dashboard/Tabs.qml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'modules/dashboard') diff --git a/modules/dashboard/Tabs.qml b/modules/dashboard/Tabs.qml index f45bdea..e6b59e7 100644 --- a/modules/dashboard/Tabs.qml +++ b/modules/dashboard/Tabs.qml @@ -107,15 +107,12 @@ Item { cursorShape: Qt.PointingHandCursor - onPressed: ({ - x, - y - }) => { + onPressed: event => { tab.TabBar.tabBar.setCurrentIndex(tab.TabBar.index); const stateY = stateWrapper.y; - rippleAnim.x = x; - rippleAnim.y = y - stateY; + rippleAnim.x = event.x; + rippleAnim.y = event.y - stateY; const dist = (ox, oy) => ox * ox + oy * oy; const stateEndY = stateY + stateWrapper.height; -- cgit v1.2.3-freya