Move fallback rendering to new class

This commit is contained in:
ExMatics HydrogenC
2023-11-30 23:22:11 +08:00
parent cdbe59a3fb
commit 623f478b44
30 changed files with 165 additions and 217 deletions

View File

@@ -106,7 +106,7 @@ namespace FlaxEngine.GUI
return Float2.Zero;
}
return Render2D.MeasureText(font, _text, ref _layout);
return FallbackTextUtils.MeasureText(font, _text, ref _layout);
}
/// <inheritdoc />