From abc78daca6da7ceb98549aec40d6c61b1326dfb7 Mon Sep 17 00:00:00 2001 From: Chris Garrity Date: Thu, 31 Oct 2019 07:48:58 -0400 Subject: [PATCH] Revert paint change for android MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- src/painteditor/PaintAction.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/painteditor/PaintAction.js b/src/painteditor/PaintAction.js index 3d793a9..56f312a 100644 --- a/src/painteditor/PaintAction.js +++ b/src/painteditor/PaintAction.js @@ -1131,10 +1131,8 @@ export default class PaintAction { pt2.x = pt.x; pt2.y = pt.y; var globalPoint = pt2.matrixTransform(Paint.root.getScreenCTM().inverse()); - if (isiOS) { - globalPoint.x = globalPoint.x / Paint.currentZoom; - globalPoint.y = globalPoint.y / Paint.currentZoom; - } + globalPoint.x = globalPoint.x / Paint.currentZoom; + globalPoint.y = globalPoint.y / Paint.currentZoom; return globalPoint; } }