mirror of
https://github.com/zoriya/noctalia-shell.git
synced 2026-08-15 18:43:59 +00:00
Fix: Even smarter secondHand color picker.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user