mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-01 23:58:11 -05:00
Fix right-click not updating selector if only collision changed
This commit is contained in:
parent
f9f0ff84fb
commit
3a98ba9012
|
|
@ -138,7 +138,6 @@ void CollisionPixmapItem::updateMovementPermissionSelection(QGraphicsSceneMouseE
|
|||
void CollisionPixmapItem::updateSelection(QPoint pos) {
|
||||
Block block;
|
||||
if (map->getBlock(pos.x(), pos.y(), &block)) {
|
||||
const QSignalBlocker blocker(this->selectedCollision); // We only need a signal for changing one of them, not both
|
||||
this->selectedCollision->setValue(block.collision());
|
||||
this->selectedElevation->setValue(block.elevation());
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user