Skip to content

Commit

Permalink
Fixing minor bug in tile remapping dialog.
Browse files Browse the repository at this point in the history
  • Loading branch information
MainMemory committed Feb 4, 2015
1 parent 3714f17 commit 4ca8f9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SonLVL/TileRemappingDialog.cs
Expand Up @@ -16,7 +16,7 @@ public TileRemappingDialog(string title, List<Bitmap> images, int imageSize)
Text += title;
SourceTileList.Images = images;
DestinationTileList.Images = new List<Bitmap>(images);
SourceTile.Maximum = DestinationTile.Maximum = images.Count;
SourceTile.Maximum = DestinationTile.Maximum = images.Count - 1;
SourceTileList.ImageSize = DestinationTileList.ImageSize = imageSize;
SourceTileList.SelectedIndex = DestinationTileList.SelectedIndex = 0;
TileMap = new Dictionary<int, int>();
Expand Down

0 comments on commit 4ca8f9f

Please sign in to comment.