mirror of
https://github.com/ocornut/imgui.git
synced 2025-09-07 11:58:22 +00:00
Fonts: fixes comment (amend d8da97f7
).
This commit is contained in:
@@ -8838,7 +8838,7 @@ void ImGui::UpdateCurrentFontSize(float restore_font_size_after_scaling)
|
|||||||
g.Style.FontSizeBase = g.FontSizeBase;
|
g.Style.FontSizeBase = g.FontSizeBase;
|
||||||
|
|
||||||
// Early out to avoid hidden window keeping bakes referenced and out of GC reach.
|
// Early out to avoid hidden window keeping bakes referenced and out of GC reach.
|
||||||
// However this would leave a pretty subtle and damning error surface area if g.FontBaked was mismatching, so for now we null it.
|
// However this would leave a pretty subtle and damning error surface area if g.FontBaked was mismatching.
|
||||||
// FIXME: perhaps g.FontSize should be updated?
|
// FIXME: perhaps g.FontSize should be updated?
|
||||||
if (window != NULL && window->SkipItems)
|
if (window != NULL && window->SkipItems)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user