You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
Fix Theme Editor crash when clicking the element picker
(cherry picked from commit abd41dedb0)
This commit is contained in:
committed by
Rémi Verschelde
parent
9442114013
commit
420ec1f84a
@@ -71,6 +71,9 @@ void ThemeEditorPreview::_preview_visibility_changed() {
|
||||
|
||||
void ThemeEditorPreview::_picker_button_cbk() {
|
||||
picker_overlay->set_visible(picker_button->is_pressed());
|
||||
if (picker_button->is_pressed()) {
|
||||
_reset_picker_overlay();
|
||||
}
|
||||
}
|
||||
|
||||
Control *ThemeEditorPreview::_find_hovered_control(Control *p_parent, Vector2 p_mouse_position) {
|
||||
|
||||
Reference in New Issue
Block a user