mirror of
https://github.com/badvision/lawless-legends.git
synced 2024-12-26 19:29:27 +00:00
Switching platform now properly updates the image editor view
This commit is contained in:
parent
21d71a57b9
commit
2d755384c2
@ -284,14 +284,14 @@ public class ApplicationUIControllerImpl extends ApplicationUIController {
|
|||||||
TileUtils.redrawTile(t);
|
TileUtils.redrawTile(t);
|
||||||
}
|
}
|
||||||
Tile tile = currentTile;
|
Tile tile = currentTile;
|
||||||
|
Image image = currentImage;
|
||||||
rebuildTileSelectors();
|
rebuildTileSelectors();
|
||||||
setCurrentTile(tile);
|
setCurrentTile(tile);
|
||||||
if (currentMapEditor != null) {
|
if (currentMapEditor != null) {
|
||||||
currentMapEditor.redraw();
|
currentMapEditor.redraw();
|
||||||
}
|
}
|
||||||
if (currentImageEditor != null) {
|
rebuildImageSelector();
|
||||||
currentImageEditor.redraw();
|
setCurrentImage(image);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user