Skip to content

Commit

Permalink
I forgot BitmapBits.Scale returns a scaled bitmap, rather than scalin…
Browse files Browse the repository at this point in the history
…g the current instance.
  • Loading branch information
MainMemory committed Apr 17, 2016
1 parent 006cf0f commit b3eac7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SonLVL/MainForm.cs
Expand Up @@ -3759,7 +3759,7 @@ private void DrawBlockPicture()
tmp.IncrementIndexes(LevelData.ColorWhite);
bmp.DrawBitmapComposited(tmp, 0, 0);
}
bmp.Scale(8);
bmp = bmp.Scale(8);
bmp.DrawRectangle(LevelData.ColorWhite, SelectedBlockTile.X * 64 - 1, SelectedBlockTile.Y * 64 - 1, SelectedBlockTile.Width * 64 + 2, SelectedBlockTile.Height * 64 + 2);
using (Graphics gfx = BlockPicture.CreateGraphics())
{
Expand Down

0 comments on commit b3eac7f

Please sign in to comment.