diff options
author | Thaddeus Crews <repiteo@outlook.com> | 2024-11-26 13:04:42 -0600 |
---|---|---|
committer | Thaddeus Crews <repiteo@outlook.com> | 2024-11-26 13:04:42 -0600 |
commit | 185a86a87d6804899a2326e3421d4a370aa78d5c (patch) | |
tree | cc7351be30e2c13c8b27d791e2578a5e5143d915 /editor | |
parent | 391e0a6808e84a40fb53f41d0f0b088c43d3e0db (diff) | |
parent | 893ce62967b08e337a72ecd965caf837d2117f2b (diff) | |
download | redot-engine-185a86a87d6804899a2326e3421d4a370aa78d5c.tar.gz |
Merge pull request #98567 from ydeltastar/remote-pick
Fix `ColorPicker`'s remote synchronization when typing values
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_properties.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_properties.cpp b/editor/editor_properties.cpp index 2b2b32eb22..a8f362f969 100644 --- a/editor/editor_properties.cpp +++ b/editor/editor_properties.cpp @@ -2645,7 +2645,7 @@ EditorPropertyColor::EditorPropertyColor() { add_child(picker); picker->set_flat(true); picker->connect("color_changed", callable_mp(this, &EditorPropertyColor::_color_changed)); - picker->connect("popup_closed", callable_mp(this, &EditorPropertyColor::_popup_closed)); + picker->connect("popup_closed", callable_mp(this, &EditorPropertyColor::_popup_closed), CONNECT_DEFERRED); picker->get_popup()->connect("about_to_popup", callable_mp(EditorNode::get_singleton(), &EditorNode::setup_color_picker).bind(picker->get_picker())); picker->get_popup()->connect("about_to_popup", callable_mp(this, &EditorPropertyColor::_picker_opening)); } |