OpenSmalltalk
/
opensmalltalk-vm
|
fix_osx_linux_mouse_wheel
|
2 hrs, 28 mins, and 4 secs
|
Nicolas Cellier
|
Convert OSX point units into scrolling units
Set the limit to 20 scrolling units to restrain the flow of events delivered to image That's about 7 points (1/10 inch), not exactly the smoothest. But if we want smoother scroll, we have to accelerate event handling at image side first.
The threshold might become a parameter, but for now YAGNI.
Note: the scrolling unit of 120 units per mouse wheel notch comes from moz.dev. The fact that we convert a single notch to 3 lines is a Squeak convention See https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/41
|
|
|
Would you like to stay up-to-date with the upcoming Travis CI build environment updates? We set up a mailing list for you!
SIGN UP HERE
|
|
|
|
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"action": {
"@type": "ViewAction",
"url": "https://travis-ci.org/OpenSmalltalk/opensmalltalk-vm/builds/630076754?utm_medium=notification&utm_source=email",
"name": "View Build"
},
"description": "View Build #1896 on Travis CI"
}
</script>