You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Merge pull request #111766 from kitbdev/speed_up_spinbox_creation
Improve performance of SpinBox creation
This commit is contained in:
@@ -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));
|
||||
|
||||
@@ -2773,7 +2773,6 @@ void LineEdit::show_emoji_and_symbol_picker() {
|
||||
void LineEdit::set_emoji_menu_enabled(bool p_enabled) {
|
||||
if (emoji_menu_enabled != p_enabled) {
|
||||
emoji_menu_enabled = p_enabled;
|
||||
_update_context_menu();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -3891,7 +3891,6 @@ void TextEdit::show_emoji_and_symbol_picker() {
|
||||
void TextEdit::set_emoji_menu_enabled(bool p_enabled) {
|
||||
if (emoji_menu_enabled != p_enabled) {
|
||||
emoji_menu_enabled = p_enabled;
|
||||
_update_context_menu();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user