Use Metatile::coordFromPixmapCoord() in all remaining cases

This commit is contained in:
BigBahss
2020-10-02 15:32:22 -04:00
parent e2dd4fb76b
commit fb5e35bd5f
5 changed files with 96 additions and 141 deletions

View File

@@ -77,7 +77,7 @@ public:
void updateMetatileSelection(QGraphicsSceneMouseEvent *event);
void paintNormal(int x, int y, bool fromScriptCall = false);
void lockNondominantAxis(QGraphicsSceneMouseEvent *event);
int adjustCoord(int coord, MapPixmapItem::Axis axis);
QPoint adjustCoords(QPoint pos);
private:
void paintSmartPath(int x, int y, bool fromScriptCall = false);