Remove leftover TODO
This commit is contained in:
parent
783fd0b304
commit
662ada181a
1 changed files with 1 additions and 1 deletions
|
@ -1223,7 +1223,7 @@ void TilesetEditor::redrawTileSelector() {
|
||||||
this->ui->graphicsView_Tiles->setTransform(transform);
|
this->ui->graphicsView_Tiles->setTransform(transform);
|
||||||
this->ui->graphicsView_Tiles->setFixedSize(size.width() + 2, size.height() + 2);
|
this->ui->graphicsView_Tiles->setFixedSize(size.width() + 2, size.height() + 2);
|
||||||
|
|
||||||
auto tiles = this->tileSelector->getSelectedTiles(); // TODO: On non-external selections only
|
auto tiles = this->tileSelector->getSelectedTiles();
|
||||||
if (!tiles.isEmpty()) {
|
if (!tiles.isEmpty()) {
|
||||||
QPoint pos = this->tileSelector->getTileCoordsOnWidget(tiles[0].tileId);
|
QPoint pos = this->tileSelector->getTileCoordsOnWidget(tiles[0].tileId);
|
||||||
pos *= scale;
|
pos *= scale;
|
||||||
|
|
Loading…
Reference in a new issue