Commit 4d1dc60d authored by Jimmy Huguet's avatar Jimmy Huguet

nicer curve

parent 2bdc49d6
......@@ -404,7 +404,7 @@ Item {
id: paint
anchors.fill: parent
lineColor: Theme.primaryColor
lineSize: 5
baseOpacity: 0.5
lineSize: 10
baseOpacity: 0.3
}
}
......@@ -24,7 +24,7 @@ Item {
onTriggered: {
var now = Date.now()
if (now - lastUpdate > 100 && canErase) {
paint.opacity -= 0.1
paint.opacity -= 0.05
} else {
paint.opacity = baseOpacity
}
......
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