mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-28 22:53:09 +00:00
move mouse area to the stripe
This commit is contained in:
parent
1eb22f4fc7
commit
0f10ba3e42
2 changed files with 10 additions and 10 deletions
|
|
@ -9,14 +9,4 @@ PlasmaCore.SvgItem {
|
|||
height: parent.height
|
||||
|
||||
svg: symbolsSvg
|
||||
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
onPressed: {
|
||||
stripe.lockKeyPressed(value);
|
||||
}
|
||||
onReleased: {
|
||||
stripe.lockKeyReleased(value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -38,6 +38,16 @@ Leaves {
|
|||
}
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
anchors.fill: parent
|
||||
onPressed: {
|
||||
stripe.lockKeyPressed(stripe.childAt(mouseX, mouseY).value);
|
||||
}
|
||||
onReleased: {
|
||||
stripe.lockKeyReleased(stripe.childAt(mouseX, mouseY).value);
|
||||
}
|
||||
}
|
||||
|
||||
Timer {
|
||||
id: hideTimer
|
||||
interval: 1000
|
||||
|
|
|
|||
Loading…
Reference in a new issue