mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 19:19:02 +08:00
Fix SettingCheckbox so it displays correctly
This commit is contained in:
parent
2b479e5651
commit
d4b5cd519b
@ -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…
x
Reference in New Issue
Block a user