Skip to content

Commit ca07729

Browse files
committed
chore: Updated comment
1 parent d3e6d60 commit ca07729

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ui-canvas/canvas.ios.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1456,8 +1456,8 @@ export class Canvas implements ICanvas {
14561456
const ctx = this.ctx;
14571457
const currentMatrix = this.getMatrix();
14581458
const invertedTransform = CGAffineTransformInvert(currentMatrix.mTransform);
1459-
// Scale is excluded because it works better for bitmaps that way
1460-
// Android canvas scale has to be re-applied after setMatrix() call so this is going to make iOS behavior similar
1459+
// Screen scale is excluded because it causes problems for other cases (e.g. bitmaps)
1460+
// Android canvas scale has to be re-applied after setMatrix() call too so this is going to make iOS behavior similar
14611461
const scaleTransform = CGAffineTransformMake(1, 0, 0, -1, 0, this.mHeight);
14621462

14631463
CGContextConcatCTM(ctx, invertedTransform);

0 commit comments

Comments
 (0)