fix font center issue on high resolution

This commit is contained in:
LabyStudio
2022-02-13 03:05:48 +01:00
parent 7858e98ffa
commit 9078d34ab0
2 changed files with 2 additions and 2 deletions
@@ -83,7 +83,7 @@ window.FontRenderer = class {
this.texture,
textureOffsetX, textureOffsetY,
FontRenderer.FIELD_SIZE, FontRenderer.FIELD_SIZE,
x, y,
Math.floor(x), Math.floor(y),
FontRenderer.FIELD_SIZE, FontRenderer.FIELD_SIZE
);