mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2024-11-24 08:07:52 -05:00
f6dbdd4fe7
On some newer android devices the screen tranform matrix already includes the current scale. i.e. the matrix looks like: ``` { a: scaleX, b: 0, c: 0, d: scaleY, e: offsetX, f: offsetY } ``` where both `scaleX`, and `scaleY` are the current zoom. On other devices the scale is always `1`, and we need to apply our own scaling. I also added the code to automatically allow webview debgging if the buildType is debuggable. Also, note that you can switch which line is commented out in bundle-compile.sh to get unobfuscated javascript. |
||
---|---|---|
.. | ||
bundle-compile.sh | ||
convert-svg-to-png.py |