ceil baseline
This commit is contained in:
parent
cfa109d9f7
commit
4f36aaf07a
@ -92,6 +92,7 @@ V_WidgetTheme V_GetWidgetTheme(void)
|
||||
|
||||
theme.text_padding_x = 5;
|
||||
theme.text_padding_y = 5;
|
||||
|
||||
// theme.font_size = TweakI32("Font size", 14, RNGI32(5, 100));
|
||||
|
||||
theme.window_background_color = Rgb32(0xff1a1d1e);
|
||||
|
||||
@ -1650,12 +1650,7 @@ void UI_EndFrame(UI_Frame *frame)
|
||||
baseline.y += cap / 2;
|
||||
} break;
|
||||
}
|
||||
|
||||
// baseline = CeilVec2(baseline);
|
||||
if (TweakB32("Round baseilne", 0))
|
||||
{
|
||||
baseline = RoundVec2(baseline);
|
||||
}
|
||||
baseline = CeilVec2(baseline);
|
||||
|
||||
// Push text rects
|
||||
for (u64 rect_idx = 0; rect_idx < final_rects_count; ++rect_idx)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user