mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
Update Color.qml
This commit is contained in:
+1
-2
@@ -329,8 +329,7 @@ Singleton {
|
||||
if (!Settings.data.ui.translucentWidgets)
|
||||
return baseColor;
|
||||
|
||||
let targetOpacity = root.panelBackgroundOpacity
|
||||
let alpha = Math.max(targetOpacity, minAlpha);
|
||||
let alpha = Math.max(root.panelBackgroundOpacity, minAlpha);
|
||||
|
||||
// Combine with the base color's existing alpha
|
||||
let resultAlpha = Math.max(0, baseColor.a - (1.0 - alpha));
|
||||
|
||||
Reference in New Issue
Block a user