fix map item render when collision tab is active

This commit is contained in:
garakmon 2023-02-05 10:57:55 -05:00
parent 0e6432c20d
commit f34aec824e

View file

@ -112,6 +112,8 @@ void Editor::setEditingCollision() {
}
if (map_item) {
map_item->paintingMode = MapPixmapItem::PaintMode::Metatiles;
map_item->draw();
map_item->setVisible(true);
}
if (events_group) {
events_group->setVisible(false);