Improve performance of SpinBox creation
This commit is contained in:
1 parent
fc7065d2b4
commit
e232484a37
3 files changed
+1
-2
No files matched your search
@@ -123,6 +123,7 @@ GotoLinePopup::GotoLinePopup() {
|
||||
vbc->add_child(l);
|
||||
|
||||
line_input = memnew(LineEdit);
|
||||
line_input->set_emoji_menu_enabled(false);
|
||||
line_input->set_custom_minimum_size(Size2(100, 0) * EDSCALE);
|
||||
line_input->set_select_all_on_focus(true);
|
||||
line_input->connect(SceneStringName(text_changed), callable_mp(this, &GotoLinePopup::_goto_line).unbind(1));
|
||||
|
||||
Reference in new issue
Block a user