Fix ref usage warnings with in-parameters

This commit is contained in:
2025-12-06 00:36:28 +02:00
parent 74bac97f44
commit ecf074801f
83 changed files with 185 additions and 185 deletions

View File

@@ -188,7 +188,7 @@ namespace FlaxEngine.GUI
var font = textBlock.Style.Font.GetFont();
if (!font)
return;
var lines = font.ProcessText(_text, ref textBlock.Range);
var lines = font.ProcessText(_text, textBlock.Range);
if (lines == null || lines.Length == 0)
return;
for (int i = 0; i < lines.Length; i++)