Minor fix
This commit is contained in:
parent
f9226cec3e
commit
dc19c51b74
@ -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);
|
||||||
|
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user