summaryrefslogtreecommitdiff
path: root/editor/icons/Breakpoint.svg
diff options
context:
space:
mode:
authorrsjtdrjgfuzkfg <public@rsjtdrjgfuzkfg.com>2023-02-16 20:41:51 +0100
committerrsjtdrjgfuzkfg <public@rsjtdrjgfuzkfg.com>2023-02-16 20:41:51 +0100
commit331dd33009289915619bb1ab7d76d156d951183a (patch)
tree1abc926b0dc9d300b6a948fcd8ea335e7886b09e /editor/icons/Breakpoint.svg
parent29f670b7ab28d6393b0a61d6860decc69c2dc1ec (diff)
Theme Editor: fix leading styleboxes / main styles
Recent changes in Godot cause the theme editor to become hidden when editing a child resource. This causes a crash when editing style box resources marked as "main styles" (= leading styleboxes in the code), as they try to reference the currently edited theme. This commit works around the issue by permitting the Theme Editor to keep a reference to the most recently edited Theme. Furthermore, it adds an assertion to avoid a similar crash in the future. Long-term, the workaround should probably be removed when the theme editor is fixed to remain visible while editing child resources, but I'd keep the assertion.
Diffstat (limited to 'editor/icons/Breakpoint.svg')
0 files changed, 0 insertions, 0 deletions