mirror of
https://github.com/huderlem/porymap.git
synced 2026-04-08 10:24:54 -05:00
Sync metatile selection from the map to the tileset editor
This commit is contained in:
parent
b06070df5f
commit
a92d0eb006
|
|
@ -1157,6 +1157,8 @@ void MainWindow::currentMetatilesSelectionChanged()
|
|||
pos *= scale;
|
||||
ui->scrollArea_2->ensureVisible(pos.x(), pos.y(), 8 * scale, 8 * scale);
|
||||
}
|
||||
if (this->tilesetEditor)
|
||||
this->tilesetEditor->selectMetatile(editor->metatile_selector_item->getSelectedMetatiles()->at(0));
|
||||
}
|
||||
|
||||
void MainWindow::on_mapList_activated(const QModelIndex &index)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user