small component patches + code cleanup

This commit is contained in:
SomeElse
2026-05-17 22:30:27 +00:00
parent 262fd8afa0
commit 6db876fc8a
21 changed files with 469 additions and 465 deletions

View File

@@ -9,7 +9,7 @@ ModuleChip {
property var launcher: null
readonly property bool launcherActive: !!launcher && launcher.isOpen
readonly property bool isHovered: hoverHandler.hovered
readonly property bool isHovered: hovered
property real spinTarget: 0
@@ -26,16 +26,12 @@ ModuleChip {
width: Cfg.Config.logoIconSize * 2 + 4
height: parent.height
color: isHovered ? t.logoBgHover : t.logoBg
radius: panelRadius
border.color: launcherActive ? t.logoBorderActive : t.logoBorder
border.width: borderWidth
Behavior on color { ColorAnimation { duration: 250 } }
Behavior on border.color { ColorAnimation { duration: 250 } }
HoverHandler { id: hoverHandler }
chipColor: t.logoBg
chipColorHovered: t.logoBgHover
chipBorderColor: t.logoBorder
chipBorderColorHovered: t.logoBorderActive
popupOpen: launcherActive
chipAnimDuration: 250
TapHandler {
onTapped: {