Skip to content

Commit

Permalink
add early return to avoid double refresh on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
dweymouth authored Jun 26, 2024
1 parent 6aaed57 commit 300989d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/widget/scroller.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ func (b *scrollBar) DragEnd() {

if fyne.CurrentDevice().IsMobile() {
b.area.MouseOut()
return
}
b.area.Refresh()
}
Expand Down

0 comments on commit 300989d

Please sign in to comment.