zy-asrs-flow/src/pages/map/index.jsx @@ -163,6 +163,7 @@ // Add New Device const onDrop = (sprite, type, x, y) => { console.log(sprite); const { mapX, mapY } = Utils.getRealPosition(x, y, mapContainer); sprite.x = mapX; sprite.y = mapY;