Fix: Even smarter secondHand color picker.

This commit is contained in:
Corey Woodworth
2025-10-30 12:19:40 -04:00
parent b7ff9e73e4
commit fba4bf6b74
2 changed files with 36 additions and 30 deletions
+1 -1
View File
@@ -7,7 +7,6 @@ Item {
property color backgroundColor: Color.mPrimary
property color clockColor: Color.mOnPrimary
property color secondHandColor: Color.mError
property real markAlpha: 0.7
anchors.fill: parent
Canvas {
@@ -19,6 +18,7 @@ Item {
property int seconds: now.getSeconds()
onPaint: {
const markAlpha = 0.7
var ctx = getContext("2d")
ctx.reset()
ctx.translate(width / 2, height / 2)