Update Color.qml

This commit is contained in:
notiant
2026-03-10 21:43:26 +01:00
committed by GitHub
parent 25e8196182
commit 08337f9bda
+1 -2
View File
@@ -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));