movement stuff

This commit is contained in:
GoaLitiuM
2021-04-08 19:31:01 +03:00
parent ae8983a90e
commit 1234dd9393
11 changed files with 248 additions and 141 deletions

View File

@@ -97,9 +97,7 @@ namespace Cabrito
if (font == null)
return (int)Height;
int h = (int)Mathf.Round(LineSpacing * (font.Height / Platform.DpiScale) * Scale.Y);
Console.Print("height: " + LineSpacing.ToString());
return h;
return (int)Mathf.Round(LineSpacing * (font.Height / Platform.DpiScale) * Scale.Y);
}
private int GetHeightInLines()