Allow 6-wide selections in tileset editor when triple layer is enabled

This commit is contained in:
Marcus Huderle
2020-07-14 17:54:56 -05:00
parent 00ad1ec22a
commit 45cfb3aabd
3 changed files with 4 additions and 3 deletions

View File

@@ -172,7 +172,7 @@ void TilesetEditor::initMetatileSelector(Map *map)
void TilesetEditor::initTileSelector()
{
this->tileSelector = new TilesetEditorTileSelector(this->primaryTileset, this->secondaryTileset);
this->tileSelector = new TilesetEditorTileSelector(this->primaryTileset, this->secondaryTileset, projectConfig.getTripleLayerMetatilesEnabled());
connect(this->tileSelector, SIGNAL(hoveredTileChanged(uint16_t)),
this, SLOT(onHoveredTileChanged(uint16_t)));
connect(this->tileSelector, SIGNAL(hoveredTileCleared()),