mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Always add decimal when printing float
This commit is contained in:
parent
533c616cb8
commit
5c0f2414cd
31 changed files with 241 additions and 141 deletions
|
@ -1481,7 +1481,7 @@ void CodeEdit::_line_number_draw_callback(int p_line, int p_gutter, const Rect2
|
|||
if (E) {
|
||||
text_rid = E->value;
|
||||
} else {
|
||||
String fc = String::num(p_line + 1).lpad(line_number_digits, line_number_padding);
|
||||
String fc = String::num_int64(p_line + 1).lpad(line_number_digits, line_number_padding);
|
||||
if (is_localizing_numeral_system()) {
|
||||
fc = TS->format_number(fc);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue