https://kotlinlang.org logo
Title
a

Aaron Yoder

10/01/2021, 9:19 AM
Can't seem to figure out how to disable scrollbars. Gist here: https://gist.github.com/aaronjyoder/b3bd774117fa47e9e23c666612973019 I had this problem quite a few months back but gave up on it and came back to it now. Using v1.0.0-alpha4-build366. Basically trying to disable them when I'm zooming (holding ctrl).
i

Igor Demin

10/02/2021, 8:04 AM
how to disable scrollbars
You mean to disable scrolling itself? Have you tried to return
true
in
mouseScrollFilter
?
if (event.orientation == MouseScrollOrientation.Vertical && canZoom) {
    ...
    true
} else {
    false
}
a

Aaron Yoder

10/02/2021, 10:55 AM
Thanks, sorry, I feel a bit stupid now. 🤦