Fix tileset height update when switching tilesets in Terrain Tag editor (#62)

This commit is contained in:
Marc L
2020-11-14 17:16:37 +00:00
committed by GitHub
parent 9841bd2630
commit bf356a458b

View File

@@ -101,9 +101,9 @@ class PokemonTilesetScene
@x = 0
@y = -TILE_SIZE
@topy = -TILE_SIZE
height = @sprites["tileset"].bitmap.height
pbUpdateTileset
pbFadeInAndShow(@sprites)
height = @sprites["tileset"].bitmap.height
########
loop do
Graphics.update
@@ -161,6 +161,7 @@ class PokemonTilesetScene
pbUpdateTileset
when 2
pbChooseTileset
height = @sprites["tileset"].bitmap.height
end
elsif Input.trigger?(Input::B)
if pbConfirmMessage(_INTL("Save changes?"))