fixed formatting fuckups offered by the zed team

This commit is contained in:
Alessandro Mauri 2024-12-14 13:29:45 +01:00
parent 0db858e814
commit 5a89e9ec7d
11 changed files with 95 additions and 117 deletions

View file

@ -62,7 +62,7 @@ fn void! Ctx.text_unbounded(&ctx, String label, String text)
// 1. Fill the element fields
// this resets the flags
c_elem.type = ETYPE_TEXT;
c_elem.type = ETYPE_TEXT;
short baseline = (short)ctx.font.ascender;
short line_height = (short)ctx.font.ascender - (short)ctx.font.descender;