mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2024-11-25 08:38:30 -05:00
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:
parent
a5686e9111
commit
abc78daca6
1 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue