mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 22:31:14 +00:00
Flip the boolean expression for the base memory tile color
Subjectively it's easier to read :)
This commit is contained in:
parent
2398d00e6f
commit
ce2cfa022d
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ MemoryTile := Rectangle {
|
|||
property <bool> solved;
|
||||
property <resource> image;
|
||||
|
||||
color: !solved ? #3960D5 : #34CE57;
|
||||
color: solved ? #34CE57 : #3960D5;
|
||||
animate color { duration: 800ms; }
|
||||
|
||||
Image {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue