mirror of
https://github.com/huderlem/porymap.git
synced 2026-07-19 17:04:05 -05:00
Retain external selection on map change (closes #291)
This commit is contained in:
parent
4b5b84ed36
commit
6251da65b2
|
|
@ -67,7 +67,7 @@ void MetatileSelector::setTilesets(Tileset *primaryTileset, Tileset *secondaryTi
|
|||
this->secondaryTileset = secondaryTileset;
|
||||
if (!this->selectionIsValid()) {
|
||||
this->select(Project::getNumMetatilesPrimary() + this->secondaryTileset->metatiles->length() - 1);
|
||||
} else {
|
||||
} else if (!this->externalSelection) {
|
||||
updateSelectedMetatiles();
|
||||
}
|
||||
this->draw();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user