Pill Performance Improvement part 3 (#1908)

* pill performance improvement

* code improvement

* better doc
This commit is contained in:
Mauro
2023-10-16 16:43:35 +02:00
committed by GitHub
parent 6898419211
commit 0d72554e6f
4 changed files with 15 additions and 2 deletions
@@ -73,6 +73,7 @@ final class PillAttachmentViewProvider: NSTextAttachmentViewProvider {
// This allows the text view to handle it as a link
controller.view.isUserInteractionEnabled = false
self.view = controller.view
textAttachment.view = controller.view
delegate?.registerPillView(controller.view)
}
}