Various improvements

This commit is contained in:
Ilya Laktyushin
2023-07-16 01:45:40 +02:00
parent c9bddb58b5
commit d4bf77376c
4 changed files with 26 additions and 11 deletions

View File

@@ -629,7 +629,7 @@ public final class DrawingTextEntityView: DrawingEntityView, UITextViewDelegate
self.textView.strokeColor = color
self.textView.frameColor = nil
}
self.textView.tintColor = cursorColor
self.textView.tintColor = self.textView.text.isEmpty ? .white : cursorColor
if case .regular = self.textEntity.style {
self.textView.layer.shadowColor = UIColor.black.cgColor