Files
blockly/core
Rodrigo Queiro 8384f8fe05 Make zoom speed independent of event granularity
Before, touchpads would give "smoother" scrolling by delivering lots of
mousewheel events with small distance changes. Because the code only
looked at the sign of deltaY, ten 5px scrolls would zoom 10x more than
one 50px scroll.

This change makes zooming with a touchpad more like zooming with a
mousewheel. On my laptop, a full-scale zoom (fully out to fully in) was
about a 5mm finger movement before, and is now about 3cm.

Fixes #758.
2016-12-09 11:12:28 +01:00
..
2016-11-19 02:40:11 -08:00
2016-12-03 06:34:18 -08:00
2016-11-19 02:40:11 -08:00
2016-11-19 02:40:11 -08:00
2016-12-02 14:03:49 -08:00
2016-11-19 02:40:11 -08:00
2016-11-18 20:26:56 -08:00
2016-12-02 14:03:49 -08:00
2016-11-19 02:40:11 -08:00
2016-11-19 02:40:11 -08:00
2016-11-19 02:40:11 -08:00
2015-07-02 19:59:32 -07:00
2016-11-19 02:40:11 -08:00
2016-11-15 16:41:11 -08:00
2016-11-15 16:41:11 -08:00
2016-11-19 02:40:11 -08:00