mirror of
https://github.com/huderlem/porymap.git
synced 2026-04-26 07:48:05 -05:00
Use correct function for setting cursorMapTileRect visibility
This commit is contained in:
parent
457cd1bb85
commit
502ebd449f
|
|
@ -1377,7 +1377,7 @@ void MainWindow::on_actionCursor_Tile_Outline_triggered()
|
||||||
porymapConfig.setShowCursorTile(enabled);
|
porymapConfig.setShowCursorTile(enabled);
|
||||||
this->editor->settings->cursorTileRectEnabled = enabled;
|
this->editor->settings->cursorTileRectEnabled = enabled;
|
||||||
if (this->editor->map_item->has_mouse) {
|
if (this->editor->map_item->has_mouse) {
|
||||||
this->editor->cursorMapTileRect->setVisible(enabled);
|
this->editor->cursorMapTileRect->setVisibility(enabled);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user