Revert paint change for android

This didn’t fix the paint issue, just changed which kind of devices see the problem. Reverted the change to work for cheaper, regular density tablets.
This commit is contained in:
Chris Garrity 2019-10-31 07:48:58 -04:00
parent a5686e9111
commit abc78daca6

View file

@ -1131,10 +1131,8 @@ export default class PaintAction {
pt2.x = pt.x; pt2.x = pt.x;
pt2.y = pt.y; pt2.y = pt.y;
var globalPoint = pt2.matrixTransform(Paint.root.getScreenCTM().inverse()); var globalPoint = pt2.matrixTransform(Paint.root.getScreenCTM().inverse());
if (isiOS) {
globalPoint.x = globalPoint.x / Paint.currentZoom; globalPoint.x = globalPoint.x / Paint.currentZoom;
globalPoint.y = globalPoint.y / Paint.currentZoom; globalPoint.y = globalPoint.y / Paint.currentZoom;
}
return globalPoint; return globalPoint;
} }
} }