Minor fix

This commit is contained in:
KillzXGaming 2024-09-03 19:19:19 -04:00
parent f9226cec3e
commit dc19c51b74
2 changed files with 2 additions and 2 deletions

View file

@ -293,8 +293,8 @@ namespace FirstPlugin.Forms
{ {
for (int r = 0; r < (int)textureGlyph.RowCount; r++) for (int r = 0; r < (int)textureGlyph.RowCount; r++)
{ {
int x = r * textureGlyph.CellWidth; int x = r * (textureGlyph.CellWidth + 1);
int y = c * textureGlyph.CellHeight; int y = c * (textureGlyph.CellHeight + 1);
var rect = new Rectangle(x, y, textureGlyph.CellWidth, textureGlyph.CellHeight); var rect = new Rectangle(x, y, textureGlyph.CellWidth, textureGlyph.CellHeight);