Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/components/DiskBar.qml
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ Item {
radius: height / 2
color: root.barColor

Behavior on width { NumberAnimation { duration: 400; easing.type: Easing.OutCubic } }
Behavior on color { ColorAnimation { duration: 300 } }
Behavior on width { NumberAnimation { duration: Anim.slower; easing.type: Anim.outCubic} }
Behavior on color { ColorAnimation { duration: Anim.mediumSlow} }
}
}

Expand All @@ -75,7 +75,7 @@ Item {
color: root.barColor
width: Math.round(28 * localScale)
horizontalAlignment: Text.AlignRight
Behavior on color { ColorAnimation { duration: 300 } }
Behavior on color { ColorAnimation { duration: Anim.mediumSlow} }
}

// Size info — below the bar, aligned with bar
Expand Down
4 changes: 2 additions & 2 deletions src/components/PopupSlide.qml
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ Item {
y: root._effectiveOpen ? 0 : (root.edge === "top" ? -height :
root.edge === "bottom" ? height : 0)

Behavior on x { NumberAnimation { duration: root.slideDuration; easing.type: Easing.OutCubic } }
Behavior on y { NumberAnimation { duration: root.slideDuration; easing.type: Easing.OutCubic } }
Behavior on x { NumberAnimation { duration: root.slideDuration; easing.type: Anim.outCubic} }
Behavior on y { NumberAnimation { duration: root.slideDuration; easing.type: Anim.outCubic} }

// Self-hover tracking — automatically available to all popups
HoverHandler {
Expand Down
10 changes: 5 additions & 5 deletions src/components/ProfileButton.qml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Item {
implicitHeight: Math.round(28 * localScale)

opacity: root.enabled ? 1 : 0.35
Behavior on opacity { NumberAnimation { duration: 120 } }
Behavior on opacity { NumberAnimation { duration: Anim.color} }

Rectangle {
anchors.fill: parent
Expand All @@ -30,8 +30,8 @@ Item {
: Qt.rgba(1, 1, 1, 0.18)
border.width: 1

Behavior on color { ColorAnimation { duration: 120 } }
Behavior on border.color { ColorAnimation { duration: 120 } }
Behavior on color { ColorAnimation { duration: Anim.color} }
Behavior on border.color { ColorAnimation { duration: Anim.color} }
}

Row {
Expand All @@ -45,7 +45,7 @@ Item {
font.pixelSize: Math.round(12 * localScale)
color: root.active ? Theme.background : Qt.rgba(1, 1, 1, 0.7)
anchors.verticalCenter: parent.verticalCenter
Behavior on color { ColorAnimation { duration: 120 } }
Behavior on color { ColorAnimation { duration: Anim.color} }
}

Text {
Expand All @@ -54,7 +54,7 @@ Item {
font.weight: root.active ? Font.Medium : Font.Normal
color: root.active ? Theme.background : Qt.rgba(1, 1, 1, 0.7)
anchors.verticalCenter: parent.verticalCenter
Behavior on color { ColorAnimation { duration: 120 } }
Behavior on color { ColorAnimation { duration: Anim.color} }
}
}

Expand Down
6 changes: 3 additions & 3 deletions src/components/Speedometer.qml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Item {
font.pixelSize: Math.max(7, Math.round(11 * root.size))
font.weight: Font.Medium
color: root.active ? Qt.rgba(1,1,1,0.55) : Qt.rgba(1,1,1,0.2)
Behavior on color { ColorAnimation { duration: 200 } }
Behavior on color { ColorAnimation { duration: Anim.normal} }
}

// ── Arc canvas ────────────────────────────────────────────────────────────
Expand Down Expand Up @@ -103,7 +103,7 @@ Item {
anchors.verticalCenterOffset: Math.round(6 * root.size)
spacing: Math.round(2 * root.size)
opacity: root.active ? 1 : 0
Behavior on opacity { NumberAnimation { duration: 200 } }
Behavior on opacity { NumberAnimation { duration: Anim.normal} }

Text {
anchors.horizontalCenter: parent.horizontalCenter
Expand Down Expand Up @@ -131,7 +131,7 @@ Item {
font.weight: Font.Medium
color: Qt.rgba(1, 1, 1, 0.25)
opacity: root.active ? 0 : 1
Behavior on opacity { NumberAnimation { duration: 200 } }
Behavior on opacity { NumberAnimation { duration: Anim.normal} }
}
}
}
Loading
Loading