mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
Merge pull request #83459 from KoBeWi/bug=false
Fix close button in FindReplaceBar
This commit is contained in:
commit
837f091f30
@ -761,7 +761,7 @@ FindReplaceBar::FindReplaceBar() {
|
||||
hide_button = memnew(TextureButton);
|
||||
add_child(hide_button);
|
||||
hide_button->set_focus_mode(FOCUS_NONE);
|
||||
hide_button->connect("pressed", callable_mp(this, &FindReplaceBar::_hide_bar));
|
||||
hide_button->connect("pressed", callable_mp(this, &FindReplaceBar::_hide_bar).bind(false));
|
||||
hide_button->set_v_size_flags(SIZE_SHRINK_CENTER);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user