Stop single tile mode on prefab tab
This commit is contained in:
parent
d28849a533
commit
ae68ab3a6f
2 changed files with 2 additions and 1 deletions
|
@ -20,6 +20,7 @@ The **"Breaking Changes"** listed below are changes that have been made in the d
|
|||
- Fix connections not being deleted when the map name text box is cleared.
|
||||
- Fix the map border not updating when a tileset is changed.
|
||||
- Stop the Tileset Editor from scrolling to the initially selected metatile when saving.
|
||||
- Fix the selection outline sticking in single-tile mode on the Prefab tab.
|
||||
|
||||
## [5.1.1] - 2023-02-20
|
||||
### Added
|
||||
|
|
|
@ -2206,7 +2206,7 @@ void MainWindow::on_toolButton_Paint_clicked()
|
|||
editor->settings->mapCursor = QCursor(QPixmap(":/icons/pencil_cursor.ico"), 10, 10);
|
||||
|
||||
// do not stop single tile mode when editing collision
|
||||
if (ui->mapViewTab->currentIndex() == 0)
|
||||
if (ui->mapViewTab->currentIndex() != 1)
|
||||
editor->cursorMapTileRect->stopSingleTileMode();
|
||||
|
||||
ui->graphicsView_Map->setHorizontalScrollBarPolicy(Qt::ScrollBarAsNeeded);
|
||||
|
|
Loading…
Reference in a new issue