Various improvements

This commit is contained in:
Ilya Laktyushin
2023-07-21 20:22:18 +02:00
parent 2aeeaaee44
commit 709acb3739
20 changed files with 188 additions and 65 deletions

View File

@@ -205,13 +205,6 @@ public final class DrawingStickerEntityView: DrawingEntityView {
break
}
// switch image.imageOrientation {
// case .leftMirrored, .rightMirrored:
// context.scaleBy(x: -1, y: 1)
// default:
// context.scaleBy(x: 1, y: -1)
// }
context.draw(image.cgImage!, in: imageRect)
}