Fix code style

CURA-4758
This commit is contained in:
Lipu Fei 2018-01-04 13:51:45 +01:00
parent 84adbc5f41
commit d20895a055
4 changed files with 59 additions and 89 deletions

View file

@ -102,11 +102,11 @@ SettingItem
{
color:
{
if(!enabled)
if (!enabled)
{
return UM.Theme.getColor("setting_control_disabled");
}
if(control.hovered || control.activeFocus)
if (control.hovered || control.activeFocus)
{
return UM.Theme.getColor("setting_control_highlight");
}
@ -115,11 +115,11 @@ SettingItem
border.width: UM.Theme.getSize("default_lining").width
border.color:
{
if(!enabled)
if (!enabled)
{
return UM.Theme.getColor("setting_control_disabled_border")
}
if(control.hovered || control.activeFocus)
if (control.hovered || control.activeFocus)
{
return UM.Theme.getColor("setting_control_border_highlight")
}