aboutsummaryrefslogtreecommitdiffstats
path: root/keybinds
diff options
context:
space:
mode:
Diffstat (limited to 'keybinds')
l---------keybinds/Glow.qml1
-rw-r--r--keybinds/PadPanel.qml18
2 files changed, 16 insertions, 3 deletions
diff --git a/keybinds/Glow.qml b/keybinds/Glow.qml
new file mode 120000
index 0000000..779c66a
--- /dev/null
+++ b/keybinds/Glow.qml
@@ -0,0 +1 @@
+../shared/Glow.qml \ No newline at end of file
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