Initialize editor values on first launch

(cherry picked from commit b0eadcfbce)
This commit is contained in:
kobewi 2023-04-08 00:01:29 +02:00 committed by Yuri Sizov
parent 967ad04928
commit 177be9bd37
2 changed files with 6 additions and 1 deletions

View file

@ -5407,6 +5407,7 @@ CanvasItemEditor::CanvasItemEditor() {
singleton = this;
set_process_shortcut_input(true);
clear(); // Make sure values are initialized.
// Update the menus' checkboxes.
callable_mp(this, &CanvasItemEditor::set_state).bind(get_state()).call_deferred();