diff options
| author | Juan Linietsky | 2017-12-19 18:48:30 -0300 |
|---|---|---|
| committer | Juan Linietsky | 2017-12-19 18:48:30 -0300 |
| commit | fc103566e677493b7ecde44b8ccea3f40b5a01ec (patch) | |
| tree | 251043d3768be4b5adce02a1d89517573a7f7e24 /scene/gui/label.cpp | |
| parent | 06dd10b3905a7d48beffe0523b785d513747f511 (diff) | |
| download | godot-fc103566e677493b7ecde44b8ccea3f40b5a01ec.tar.gz godot-fc103566e677493b7ecde44b8ccea3f40b5a01ec.tar.zst godot-fc103566e677493b7ecde44b8ccea3f40b5a01ec.zip | |
Diffstat (limited to 'scene/gui/label.cpp')
| -rw-r--r-- | scene/gui/label.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/label.cpp b/scene/gui/label.cpp index e1f77594d..51a25c60a 100644 --- a/scene/gui/label.cpp +++ b/scene/gui/label.cpp @@ -207,7 +207,7 @@ void Label::_notification(int p_what) { } break; } - int y_ofs = style->get_offset().y; + float y_ofs = style->get_offset().y; y_ofs += (line - lines_skipped) * font_h + font->get_ascent(); y_ofs += vbegin + line * vsep; |
