diff --git a/src/ui/draggablepixmapitem.cpp b/src/ui/draggablepixmapitem.cpp index 432a3ba2..1743ab50 100644 --- a/src/ui/draggablepixmapitem.cpp +++ b/src/ui/draggablepixmapitem.cpp @@ -75,8 +75,7 @@ void DraggablePixmapItem::mouseMoveEvent(QGraphicsSceneMouseEvent *mouse) { if (active) { int x = static_cast(mouse->pos().x() + this->pos().x()) / 16; int y = static_cast(mouse->pos().y() + this->pos().y()) / 16; - this->editor->playerViewRect->updateLocation(x, y); - this->editor->cursorMapTileRect->updateLocation(x, y); + emit this->editor->map_item->hoveredMapMetatileChanged(x, y); if (x != last_x || y != last_y) { QList selectedEvents; if (editor->selected_events->contains(this)) {