mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-07 21:24:59 +00:00
Fix tileset height update when switching tilesets in Terrain Tag editor (#62)
This commit is contained in:
@@ -101,9 +101,9 @@ class PokemonTilesetScene
|
|||||||
@x = 0
|
@x = 0
|
||||||
@y = -TILE_SIZE
|
@y = -TILE_SIZE
|
||||||
@topy = -TILE_SIZE
|
@topy = -TILE_SIZE
|
||||||
|
height = @sprites["tileset"].bitmap.height
|
||||||
pbUpdateTileset
|
pbUpdateTileset
|
||||||
pbFadeInAndShow(@sprites)
|
pbFadeInAndShow(@sprites)
|
||||||
height = @sprites["tileset"].bitmap.height
|
|
||||||
########
|
########
|
||||||
loop do
|
loop do
|
||||||
Graphics.update
|
Graphics.update
|
||||||
@@ -161,6 +161,7 @@ class PokemonTilesetScene
|
|||||||
pbUpdateTileset
|
pbUpdateTileset
|
||||||
when 2
|
when 2
|
||||||
pbChooseTileset
|
pbChooseTileset
|
||||||
|
height = @sprites["tileset"].bitmap.height
|
||||||
end
|
end
|
||||||
elsif Input.trigger?(Input::B)
|
elsif Input.trigger?(Input::B)
|
||||||
if pbConfirmMessage(_INTL("Save changes?"))
|
if pbConfirmMessage(_INTL("Save changes?"))
|
||||||
|
|||||||
Reference in New Issue
Block a user