Ignore mouse motion events inside MessageView
This commit is contained in:
parent
702592bf89
commit
8b02183ab1
@ -371,6 +371,9 @@ func (view *MessageView) handleUsernameClick(message *messages.UIMessage, prevMe
|
||||
}
|
||||
|
||||
func (view *MessageView) OnMouseEvent(event mauview.MouseEvent) bool {
|
||||
if event.HasMotion() {
|
||||
return false
|
||||
}
|
||||
switch event.Buttons() {
|
||||
case tcell.WheelUp:
|
||||
if view.IsAtTop() {
|
||||
|
Loading…
Reference in New Issue
Block a user