mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Add animation speed slider in general tab, always collapse activeWindow
GeneralTab: add animation speed slider Workspace: set activeWindow to always collapsed except for hover Misc: replaced a lot of animations with Style.animationXYZ
This commit is contained in:
@@ -140,6 +140,8 @@ Singleton {
|
||||
property bool dimDesktop: false
|
||||
property bool showScreenCorners: false
|
||||
property real radiusRatio: 1.0
|
||||
// Animation speed multiplier (0.1x - 2.0x)
|
||||
property real animationSpeed: 1.0
|
||||
// Replace sidepanel toggle with distro logo (shown in bar and/or side panel)
|
||||
property bool useDistroLogoForSidepanel: false
|
||||
}
|
||||
|
||||
+3
-3
@@ -56,9 +56,9 @@ Singleton {
|
||||
property real opacityFull: 1.0
|
||||
|
||||
// Animation duration (ms)
|
||||
property int animationFast: 150
|
||||
property int animationNormal: 300
|
||||
property int animationSlow: 450
|
||||
property int animationFast: Math.round(150 * Settings.data.general.animationSpeed)
|
||||
property int animationNormal: Math.round(300 * Settings.data.general.animationSpeed)
|
||||
property int animationSlow: Math.round(450 * Settings.data.general.animationSpeed)
|
||||
|
||||
// Dimensions
|
||||
property int barHeight: 36
|
||||
|
||||
Reference in New Issue
Block a user