mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-27 20:15:21 +00:00
Fix bubble entrance coordinates
This commit is contained in:
parent
99cb10f5be
commit
4469d9754a
@ -1109,12 +1109,11 @@ class ConversationActivityV2 : PassphraseRequiredActionBarActivity(), InputBarDe
|
|||||||
}
|
}
|
||||||
|
|
||||||
})
|
})
|
||||||
val contentBounds = Rect()
|
val topLeft = intArrayOf(0, 0).also { visibleMessageView.messageContentView.getLocationInWindow(it) }
|
||||||
visibleMessageView.messageContentView.getGlobalVisibleRect(contentBounds)
|
|
||||||
val selectedConversationModel = SelectedConversationModel(
|
val selectedConversationModel = SelectedConversationModel(
|
||||||
messageContentBitmap,
|
messageContentBitmap,
|
||||||
contentBounds.left.toFloat(),
|
topLeft[0].toFloat(),
|
||||||
contentBounds.top.toFloat(),
|
topLeft[1].toFloat(),
|
||||||
visibleMessageView.messageContentView.width,
|
visibleMessageView.messageContentView.width,
|
||||||
message.isOutgoing,
|
message.isOutgoing,
|
||||||
visibleMessageView.messageContentView
|
visibleMessageView.messageContentView
|
||||||
|
Loading…
Reference in New Issue
Block a user