mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 02:37:49 -06:00
Fix SettingCheckbox so it displays correctly
This commit is contained in:
parent
2b479e5651
commit
d4b5cd519b
1 changed files with 3 additions and 2 deletions
|
@ -12,9 +12,10 @@ SettingItem
|
||||||
{
|
{
|
||||||
id: base
|
id: base
|
||||||
|
|
||||||
MouseArea
|
contents: MouseArea
|
||||||
{
|
{
|
||||||
id: control
|
id: control
|
||||||
|
anchors.fill: parent
|
||||||
|
|
||||||
property bool checked:
|
property bool checked:
|
||||||
{
|
{
|
||||||
|
@ -48,7 +49,7 @@ SettingItem
|
||||||
{
|
{
|
||||||
return UM.Theme.getColor("setting_control_disabled")
|
return UM.Theme.getColor("setting_control_disabled")
|
||||||
}
|
}
|
||||||
if(base.containsMouse || base.activeFocus)
|
if(control.containsMouse || control.activeFocus)
|
||||||
{
|
{
|
||||||
return UM.Theme.getColor("setting_control_highlight")
|
return UM.Theme.getColor("setting_control_highlight")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue