mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 17:41:19 +00:00
Fixed signal connection prints when moving docks, issue 5498
This commit is contained in:
parent
d81b635957
commit
050a514799
4 changed files with 17 additions and 5 deletions
|
|
@ -176,7 +176,9 @@ void GraphColorRampEdit::_input_event(const InputEvent& p_event) {
|
|||
void GraphColorRampEdit::_notification(int p_what){
|
||||
|
||||
if (p_what==NOTIFICATION_ENTER_TREE) {
|
||||
picker->connect("color_changed",this,"_color_changed");
|
||||
if (!picker->is_connected("color_changed",this,"_color_changed")) {
|
||||
picker->connect("color_changed",this,"_color_changed");
|
||||
}
|
||||
}
|
||||
if (p_what==NOTIFICATION_DRAW) {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue