forked from shadowfacts/Tusker
Enable text selection in conversation main status
This commit is contained in:
parent
784c71342d
commit
5d86b35672
|
@ -176,7 +176,7 @@ class ContentTextView: LinkTextView {
|
|||
|
||||
// only accept touches that are over a link
|
||||
override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
|
||||
if getLinkAtPoint(point) != nil {
|
||||
if getLinkAtPoint(point) != nil || isSelectable {
|
||||
return self
|
||||
} else {
|
||||
return nil
|
||||
|
|
|
@ -17,7 +17,6 @@ class LinkTextView: UITextView {
|
|||
isScrollEnabled = false
|
||||
isEditable = false
|
||||
isUserInteractionEnabled = true
|
||||
isSelectable = true // is this necessary?
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue