Skip to content

Commit

Permalink
fix(config): use right state for pick color
Browse files Browse the repository at this point in the history
  • Loading branch information
orblazer committed Jun 15, 2021
1 parent b3096d3 commit d2a894d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/contents/ui/components/ColorSelector.qml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ RowLayout {
}
Button {
onClicked: colorPicker.open()
enabled: checked
enabled: customized.checked

implicitWidth: height * 2
background: Rectangle {
color: checked ? colorPicker.currentColor : defaultColor
color: customized.checked ? colorPicker.currentColor : defaultColor
radius: 2
}
}
Expand Down

0 comments on commit d2a894d

Please sign in to comment.