mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-08-04 02:34:45 +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
|
height: parent.height
|
||||||
|
|
||||||
svg: symbolsSvg
|
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 {
|
Timer {
|
||||||
id: hideTimer
|
id: hideTimer
|
||||||
interval: 1000
|
interval: 1000
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue