mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-24 02:25:19 +00:00
Fix merge
This commit is contained in:
parent
24b5fca7f8
commit
dea1aeec57
@ -89,10 +89,10 @@ class VisibleMessageContentView : LinearLayout {
|
|||||||
val bodyTextView = VisibleMessageContentView.getBodyTextView(context, message)
|
val bodyTextView = VisibleMessageContentView.getBodyTextView(context, message)
|
||||||
ViewUtil.setPaddingTop(bodyTextView, 0)
|
ViewUtil.setPaddingTop(bodyTextView, 0)
|
||||||
mainContainer.addView(bodyTextView)
|
mainContainer.addView(bodyTextView)
|
||||||
onContentClick = { rect ->
|
onContentClick = { event ->
|
||||||
val r = Rect()
|
val r = Rect()
|
||||||
quoteView.getGlobalVisibleRect(r)
|
quoteView.getGlobalVisibleRect(r)
|
||||||
if (r.contains(rect)) {
|
if (r.contains(event.rawX.roundToInt(), event.rawY.roundToInt())) {
|
||||||
delegate?.scrollToMessageIfPossible(quote.id)
|
delegate?.scrollToMessageIfPossible(quote.id)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user