diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-19 17:03:44 +1000 |
|---|---|---|
| committer | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-19 17:03:44 +1000 |
| commit | d329949fc83549a858afb1f7d57fd8ae60e38db8 (patch) | |
| tree | 31ca959af90bf3b926fb8a3907db1f8ca0341394 /modules/dashboard | |
| parent | dashboard: fix tab indicator offset (diff) | |
| download | caelestia-shell-d329949fc83549a858afb1f7d57fd8ae60e38db8.tar.gz caelestia-shell-d329949fc83549a858afb1f7d57fd8ae60e38db8.tar.bz2 caelestia-shell-d329949fc83549a858afb1f7d57fd8ae60e38db8.zip | |
input: ripple anim for all buttons
Also fix up colours for some statelayers
Fix urgent notif action colours
Diffstat (limited to 'modules/dashboard')
| -rw-r--r-- | modules/dashboard/Tabs.qml | 9 |
1 files changed, 3 insertions, 6 deletions
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; |