Fix skeleton 3d editor crash in RC3

Control notifies a theme changed before the editor has entered the tree
This commit is contained in:
Samuele Panzeri
2023-05-14 19:40:45 +02:00
parent fb10f45efe
commit a103cd76bb
4 changed files with 13 additions and 9 deletions

View File

@@ -1536,6 +1536,11 @@ void EditorInspectorSection::fold() {
queue_redraw();
}
void EditorInspectorSection::set_bg_color(const Color &p_bg_color) {
bg_color = p_bg_color;
queue_redraw();
}
bool EditorInspectorSection::has_revertable_properties() const {
return !revertable_properties.is_empty();
}