Kartikaya Gupta
213676b5e8
Bug 1392361 - Fix zooming sensitivity on macOS
...
The original code would get a long sequence of miniscule "tick" values while
pinch-zooming, and each tick value would cause a 1.1x zoom. So even the smallest
pinch gesture on a trackpad would cause high amounts of zoom. This patch
accumulates the wheel deltas until they reach an integer threshold (with a
tweak of the scaling factor to make it feel more natural) at which point it
triggers the zoom based on the integer component of the accumulated delta. The
fractional part is retained in the accumulator.
2020-08-12 17:18:50 -04:00
..
2020-03-30 22:47:49 +02:00
2020-01-25 00:20:22 +01:00
2015-01-26 16:44:45 +01:00
2020-01-01 14:52:37 +01:00
2020-07-31 16:42:49 +02:00
2020-08-10 15:56:30 +02:00
2020-08-12 17:18:50 -04:00
2020-08-05 23:08:06 +02:00
2020-08-05 23:02:30 +02:00
2015-08-14 18:59:55 +02:00
2020-04-14 12:28:14 +02:00
2011-07-05 10:53:57 -07:00
2020-04-14 12:28:14 +02:00
2020-08-10 15:56:30 +02:00
2020-08-05 23:02:30 +02:00
2020-08-10 15:56:30 +02:00
2020-01-15 14:26:47 +01:00
2020-01-18 10:53:01 +09:00
2020-04-14 12:28:14 +02:00
2020-08-05 23:02:30 +02:00
2019-12-26 12:35:12 +01:00
2020-01-04 13:01:43 +01:00
2020-08-10 15:56:30 +02:00
2020-02-27 19:38:13 +01:00
2020-05-20 12:09:04 +02:00
2020-03-29 12:20:23 +02:00
2020-04-14 12:28:14 +02:00
2019-12-26 12:34:24 +01:00
2020-05-07 13:53:07 +02:00
2020-05-07 13:53:07 +02:00
2020-08-05 23:08:06 +02:00
2020-08-05 23:02:30 +02:00
2020-03-25 22:42:27 +08:00
2020-08-10 15:56:30 +02:00
2020-02-19 01:49:39 +01:00
2020-02-27 19:38:13 +01:00
2020-08-05 23:08:06 +02:00
2020-03-24 16:54:37 +01:00
2020-06-12 15:16:54 +02:00
2020-04-14 12:28:14 +02:00
2020-02-27 14:44:48 +01:00
2020-01-01 14:48:56 +01:00
2020-03-24 16:54:37 +01:00
2019-12-26 12:34:24 +01:00
2020-05-16 16:22:15 +02:00
2020-04-14 12:28:14 +02:00
2020-01-01 14:48:55 +01:00
2020-04-14 12:28:14 +02:00
2020-04-14 12:28:14 +02:00
2020-08-12 17:18:50 -04:00
2020-03-21 13:55:06 +01:00
2020-05-22 00:22:48 +02:00
2017-05-31 09:22:25 -05:00
2018-03-21 18:21:46 +01:00
2019-01-23 20:33:20 +01:00
2016-02-14 13:23:34 +01:00
2017-05-31 09:22:25 -05:00
2020-08-10 18:35:56 +02:00
2020-05-20 13:36:52 +02:00
2020-05-20 13:36:52 +02:00