Scale cellpadding based on font_size

pull/356/head
FlightlessMango 4 years ago
parent 63b50abede
commit e25ffbafe0

@ -2103,7 +2103,7 @@ void convert_colors(bool do_conv, struct swapchain_stats& sw_stats, struct overl
style.Colors[ImGuiCol_PlotHistogram] = convert(params.frametime_color);
style.Colors[ImGuiCol_WindowBg] = convert(params.background_color);
style.Colors[ImGuiCol_Text] = convert(params.text_color);
style.CellPadding.y = -2;
style.CellPadding.y = -0.085 * params.font_size;
}
// TODO probably needs colorspace check too

Loading…
Cancel
Save