Skip to content

Commit

Permalink
Merge pull request #55186 from timothyqiu/theme-picker-reset
Browse files Browse the repository at this point in the history
  • Loading branch information
akien-mga authored Nov 22, 2021
2 parents 608c029 + abd41de commit 835f4de
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions editor/plugins/theme_editor_preview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 835f4de

Please sign in to comment.