Fix metatile selection rect disappearing during map selection

This commit is contained in:
GriffinR 2020-07-10 00:51:21 -04:00 committed by garak
parent 38bbb2c4c8
commit d20f4a5c83

View file

@ -41,7 +41,7 @@ void MetatileSelector::draw() {
painter.end();
this->setPixmap(QPixmap::fromImage(image));
if (!this->externalSelection) {
if (!this->externalSelection || (this->externalSelectionWidth == 1 && this->externalSelectionHeight == 1)) {
this->drawSelection();
}
}