summaryrefslogtreecommitdiff
path: root/modules/dashboard
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-19 17:03:44 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-19 17:03:44 +1000
commitd329949fc83549a858afb1f7d57fd8ae60e38db8 (patch)
tree31ca959af90bf3b926fb8a3907db1f8ca0341394 /modules/dashboard
parentdashboard: fix tab indicator offset (diff)
downloadcaelestia-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.qml9
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;