diff --git a/orx-gui/src/main/kotlin/Gui.kt b/orx-gui/src/main/kotlin/Gui.kt index 551e12fc..7f1dfcae 100644 --- a/orx-gui/src/main/kotlin/Gui.kt +++ b/orx-gui/src/main/kotlin/Gui.kt @@ -395,7 +395,7 @@ class GUI : Extension { ParameterType.Action -> ParameterValue() ParameterType.Color -> ParameterValue(colorValue = k.property.qget(lo.obj) as ColorRGBa) ParameterType.Text -> ParameterValue(textValue = k.property.qget(lo.obj) as String) - ParameterType.Boolean -> ParameterValue(booleanValue = k.property.qget(lo.obj as Boolean)) + ParameterType.Boolean -> ParameterValue(booleanValue = k.property.qget(lo.obj) as Boolean) }) }) }