Various fixes

This commit is contained in:
Ilya Laktyushin
2022-12-17 22:43:10 +04:00
parent 7e00550f82
commit 0d448b39cc
4 changed files with 138 additions and 134 deletions

View File

@@ -546,6 +546,7 @@ final class DrawingTextEntityView: DrawingEntityView, UITextViewDelegate {
font = Font.with(size: fontSize, design: .round, weight: .semibold)
}
text.addAttribute(.font, value: font, range: range)
self.textView.font = font
let color = self.textEntity.color.toUIColor()
let textColor: UIColor