added config to change logo animation speed
This commit is contained in:
@@ -52,7 +52,7 @@ ModuleChip {
|
|||||||
rotation: root.spinTarget
|
rotation: root.spinTarget
|
||||||
Behavior on rotation {
|
Behavior on rotation {
|
||||||
NumberAnimation {
|
NumberAnimation {
|
||||||
duration: 600
|
duration: Cfg.Config.logoSpinDuration
|
||||||
easing.type: Easing.InOutBack
|
easing.type: Easing.InOutBack
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,6 +32,7 @@ QtObject {
|
|||||||
// ── Logo ─────────────────────────────────────────────────────────────
|
// ── Logo ─────────────────────────────────────────────────────────────
|
||||||
property int logoIconSize: 23 // icon font size; container width scales with it
|
property int logoIconSize: 23 // icon font size; container width scales with it
|
||||||
property string logoIcon: "" // Nerd Font glyph for the logo
|
property string logoIcon: "" // Nerd Font glyph for the logo
|
||||||
|
property int logoSpinDuration: 600 // spin animation duration in ms
|
||||||
|
|
||||||
// ── Panel Styling ─────────────────────────────────────────────────────────
|
// ── Panel Styling ─────────────────────────────────────────────────────────
|
||||||
property int panelBorderWidth: 1
|
property int panelBorderWidth: 1
|
||||||
|
|||||||
Reference in New Issue
Block a user