Fix rubberband selection sometimes corrupting vertical scroll

parent f0164c54
......@@ -1426,7 +1426,7 @@ Rectangle {
} else {
var maxScroll = trackHeaders.height - tracksArea.height + scrollView.ScrollBar.horizontal.height + ruler.height
if (scrollView.contentY > maxScroll) {
scrollView.contentY = maxScroll
scrollView.contentY = Math.max(0, maxScroll)
vertical = 0
stop()
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment