mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
[Label] Remove extra line spacing from Label minimum size calculations.
This commit is contained in:
@@ -303,6 +303,9 @@ void Label::_update_visible() {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if (minsize.height > 0) {
|
||||
minsize.height -= line_spacing;
|
||||
}
|
||||
}
|
||||
|
||||
inline void draw_glyph(const Glyph &p_gl, const RID &p_canvas, const Color &p_font_color, const Vector2 &p_ofs) {
|
||||
|
||||
Reference in New Issue
Block a user