Various fixes

This commit is contained in:
Ilya Laktyushin
2023-07-07 13:32:19 +02:00
parent 2a9344b7f5
commit bdfba6625e
2 changed files with 2 additions and 2 deletions

View File

@@ -635,7 +635,7 @@ public final class DrawingTextEntityView: DrawingEntityView, UITextViewDelegate
func getRenderImage() -> UIImage? {
let rect = self.bounds
UIGraphicsBeginImageContextWithOptions(rect.size, false, 3.0)
UIGraphicsBeginImageContextWithOptions(rect.size, false, 2.0)
self.textView.drawHierarchy(in: rect, afterScreenUpdates: true)
let image = UIGraphicsGetImageFromCurrentImageContext()
UIGraphicsEndImageContext()