ui-canvas icon indicating copy to clipboard operation
ui-canvas copied to clipboard

fix(ui-canvas): Proper iOS scale for bitmap cases

Open CatchABus opened this issue 1 year ago • 0 comments

It seems that re-applying screen scale by default during setMatrix() call doesn't work well for all cases (e.g. bitmaps). This PR ensures setMatrix sets actual base values and developers can scale the canvas manually after the setMatrix() call. It's not perfect but this is what we already do in android canvas in order to scale pixels based on screen scale, so both platforms will have similar result.

CatchABus avatar Jul 30 '24 20:07 CatchABus