diff options
Diffstat (limited to 'keybinds/PadPanel.qml')
| -rw-r--r-- | keybinds/PadPanel.qml | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/keybinds/PadPanel.qml b/keybinds/PadPanel.qml index d9f8941..c338c64 100644 --- a/keybinds/PadPanel.qml +++ b/keybinds/PadPanel.qml @@ -81,8 +81,13 @@ Item { height: panel.unit radius: panel.unit * 0.12 color: cap.cap - border.color: panel.hovered === padId ? Theme.text : "transparent" - border.width: 3 + + Glow { + anchors.fill: parent + z: -1 + radius: parent.radius + on: panel.hovered === keycap.padId + } Column { anchors.centerIn: parent @@ -140,9 +145,16 @@ Item { height: width radius: width / 2 color: panel.hovered === modelData ? Theme.surfaceAlt : Theme.surface - border.color: panel.hovered === modelData ? Theme.accent : Theme.overlay + border.color: Theme.overlay border.width: 2 + Glow { + anchors.fill: parent + z: -1 + radius: parent.radius + on: panel.hovered === parent.modelData + } + MouseArea { anchors.fill: parent hoverEnabled: true |
