Commit 0f10ba3e authored by Aaron J. Seigo's avatar Aaron J. Seigo
Browse files

move mouse area to the stripe

parent 1eb22f4f
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment