mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2025-02-17 17:01:12 -05:00
Merge pull request #224 from LLK/revert-android-paint
Revert paint change for android
This commit is contained in:
commit
64c5575bda
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