Keep the notch's colour on the launcher
The launcher used the open notch's fill, so with "Glassy when open" it
turned back to glass. It now keeps the docked notch's colour by default;
notch.launcherMatch ("Launcher keeps notch colour", shown under the
glassy toggle) can turn it off to follow the open notch again.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
52a0e29959
commit
af81bf9c90
5 files changed
+15
-4
No files matched your search
@@ -42,6 +42,9 @@ Singleton {
|
||||
}
|
||||
// The open notch's fill: the plain glass when "glassy when open" is on.
|
||||
readonly property color notchOpenFill: ConfigService.ready && ConfigService.data.notch.glassOnOpen ? Qt.alpha(tint, glassOpacity) : notchFill
|
||||
// The launcher keeps the docked notch's colour unless it is set to follow
|
||||
// "glassy when open".
|
||||
readonly property color notchLauncherFill: ConfigService.ready && !ConfigService.data.notch.launcherMatch ? notchOpenFill : notchFill
|
||||
// Notch animations run at their own speeds (percent; 100 follows the shell),
|
||||
// one for opening and one for closing.
|
||||
readonly property real notchOpenDuration: duration * 100 / (ConfigService.ready ? Math.max(25, ConfigService.data.notch.openSpeed) : 100)
|
||||
|
||||
Reference in new issue
Block a user