mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2024-11-23 08:07:54 -05:00
Fixed bools and associated checkboxes not updating properly.
This commit is contained in:
parent
d9a69dac10
commit
d9cf097e46
2 changed files with 6 additions and 1 deletions
|
@ -123,7 +123,7 @@ class FocusCameraSongEvent extends SongEvent
|
||||||
trace('Unknown camera focus: ' + data);
|
trace('Unknown camera focus: ' + data);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (useTween) // always ends up false??
|
if (useTween)
|
||||||
{
|
{
|
||||||
var durSeconds = Conductor.instance.stepLengthMs * duration / 1000;
|
var durSeconds = Conductor.instance.stepLengthMs * duration / 1000;
|
||||||
|
|
||||||
|
|
|
@ -237,6 +237,11 @@ class ChartEditorEventDataToolbox extends ChartEditorBaseToolbox
|
||||||
{
|
{
|
||||||
value = event.target.value.value;
|
value = event.target.value.value;
|
||||||
}
|
}
|
||||||
|
else if (field.type == BOOL)
|
||||||
|
{
|
||||||
|
var chk:CheckBox = cast event.target;
|
||||||
|
value = cast(chk.selected, Null<Bool>); // Need to cast to nullable bool or the compiler will get mad.
|
||||||
|
}
|
||||||
|
|
||||||
trace('ChartEditorToolboxHandler.buildEventDataFormFromSchema() - ${event.target.id} = ${value}');
|
trace('ChartEditorToolboxHandler.buildEventDataFormFromSchema() - ${event.target.id} = ${value}');
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue