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
|
// only accept touches that are over a link
|
||||||
override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
|
override func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? {
|
||||||
if getLinkAtPoint(point) != nil {
|
if getLinkAtPoint(point) != nil || isSelectable {
|
||||||
return self
|
return self
|
||||||
} else {
|
} else {
|
||||||
return nil
|
return nil
|
||||||
|
|
|
@ -17,7 +17,6 @@ class LinkTextView: UITextView {
|
||||||
isScrollEnabled = false
|
isScrollEnabled = false
|
||||||
isEditable = false
|
isEditable = false
|
||||||
isUserInteractionEnabled = true
|
isUserInteractionEnabled = true
|
||||||
isSelectable = true // is this necessary?
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue