Commit 06bde8ab authored by Aaron J. Seigo's avatar Aaron J. Seigo
Browse files

opacity change on stripe touch

parent 21afca51
......@@ -81,10 +81,19 @@ Leaves {
MouseArea {
anchors.fill: parent
onPressed: {
if (stripe.opacity < 1) {
stripe.opacity = 1;
return;
}
stripe.lockKeyPressed(stripe.childAt(mouseX, mouseY).value);
}
onReleased: {
if (stripe.opacity < 1) {
return;
}
stripe.lockKeyReleased(stripe.childAt(mouseX, mouseY).value);
}
......
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