mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Enable input when ColorPicker popup exits tree
This commit is contained in:
parent
d5ad0556a2
commit
e85e8da55d
1 changed files with 1 additions and 0 deletions
|
|
@ -2571,6 +2571,7 @@ void ColorPickerButton::_update_picker() {
|
|||
picker->connect("color_changed", callable_mp(this, &ColorPickerButton::_color_changed));
|
||||
popup->connect("about_to_popup", callable_mp(this, &ColorPickerButton::_about_to_popup));
|
||||
popup->connect("popup_hide", callable_mp(this, &ColorPickerButton::_modal_closed));
|
||||
popup->connect("tree_exiting", callable_mp(this, &ColorPickerButton::_modal_closed));
|
||||
picker->connect(SceneStringName(minimum_size_changed), callable_mp((Window *)popup, &Window::reset_size));
|
||||
picker->set_pick_color(color);
|
||||
picker->set_edit_alpha(edit_alpha);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue