From 3e554426549c002653b3e4d5d80b44fd245b23ba Mon Sep 17 00:00:00 2001 From: Pico Date: Fri, 14 Nov 2025 01:21:09 +0300 Subject: [PATCH] replace color:"transparent" with transparentize --- .../quickshell/ii/modules/common/widgets/StyledComboBox.qml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dots/.config/quickshell/ii/modules/common/widgets/StyledComboBox.qml b/dots/.config/quickshell/ii/modules/common/widgets/StyledComboBox.qml index 6ae65984e..5b9da31e2 100644 --- a/dots/.config/quickshell/ii/modules/common/widgets/StyledComboBox.qml +++ b/dots/.config/quickshell/ii/modules/common/widgets/StyledComboBox.qml @@ -5,6 +5,7 @@ import QtQuick.Layouts import qs.services import qs.modules.common import qs.modules.common.widgets +import qs.modules.common.functions ComboBox { id: root @@ -84,7 +85,7 @@ ComboBox { background: Rectangle { anchors.fill: parent radius: Appearance.rounding.small - color: root.currentIndex === itemDelegate.index ? Appearance.colors.colPrimary : itemDelegate.down ? Appearance.colors.colSecondaryContainerActive : itemDelegate.hovered ? Appearance.colors.colSecondaryContainerHover : "transparent" + color: root.currentIndex === itemDelegate.index ? Appearance.colors.colPrimary : itemDelegate.down ? Appearance.colors.colSecondaryContainerActive : itemDelegate.hovered ? Appearance.colors.colSecondaryContainerHover : ColorUtils.transparentize(Appearance.colors.colSurfaceContainerHigh) Behavior on color { animation: Appearance.animation.elementMoveFast.colorAnimation.createObject(this)