Show "Remap Tiles" button after the tileset is resized

This commit is contained in:
David Capello 2020-10-26 18:47:09 -03:00
parent 394b8bb2aa
commit 114387483f

View File

@ -1047,6 +1047,8 @@ void ColorBar::onTilesViewResize(const int newSize)
if (!tileset || tileset->size() == newSize)
return;
showRemapTiles();
try {
ContextWriter writer(UIContext::instance(), 500);
Sprite* sprite = writer.sprite();