mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Merge pull request #74623 from MewPurPur/edit-text-with-style
Code style improvements to text_edit and related
This commit is contained in:
@@ -62,7 +62,7 @@ void SpinBox::_text_submitted(const String &p_string) {
|
||||
expr.instantiate();
|
||||
|
||||
String num = TS->parse_number(p_string);
|
||||
// Ignore the prefix and suffix in the expression
|
||||
// Ignore the prefix and suffix in the expression.
|
||||
Error err = expr->parse(num.trim_prefix(prefix + " ").trim_suffix(" " + suffix));
|
||||
if (err != OK) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user