Passed: OpenSmalltalk/opensmalltalk-vm#1896 (fix_osx_linux_mouse_wheel - 9d26c97)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Passed: OpenSmalltalk/opensmalltalk-vm#1896 (fix_osx_linux_mouse_wheel - 9d26c97)

Travis CI
 

OpenSmalltalk

/

opensmalltalk-vm

branch iconfix_osx_linux_mouse_wheel

arrow to build time
clock icon2 hrs, 28 mins, and 4 secs

Nicolas Cellier avatarNicolas 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

Want to know about upcoming build environment updates?

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
book icon

Documentation about Travis CI

<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&amp;utm_source=email", "name": "View Build" }, "description": "View Build #1896 on Travis CI" } </script>