mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-04 11:14:21 +08:00
Allow fallthrough of switch statement
Makes it easier to modify. Contributes to issue CURA-4148.
This commit is contained in:
parent
226bb7b070
commit
4b8152d6fe
@ -39,13 +39,10 @@ SettingItem
|
||||
switch(propertyProvider.properties.validationState)
|
||||
{
|
||||
case "ValidatorState.Exception":
|
||||
return UM.Theme.getColor("setting_validation_error")
|
||||
case "ValidatorState.MinimumError":
|
||||
return UM.Theme.getColor("setting_validation_error")
|
||||
case "ValidatorState.MaximumError":
|
||||
return UM.Theme.getColor("setting_validation_error")
|
||||
case "ValidatorState.MinimumWarning":
|
||||
return UM.Theme.getColor("setting_validation_warning")
|
||||
case "ValidatorState.MaximumWarning":
|
||||
return UM.Theme.getColor("setting_validation_warning")
|
||||
case "ValidatorState.Valid":
|
||||
|
Loading…
x
Reference in New Issue
Block a user