Nico Weber
98dd034c29
LibGUI: Make scrollbars keep scrolling by page while clicking the gutter
...
Note that m_hovered_component is only updated on mouse move, not while
just keeping left down. It's arguably wrong to update it on mouse move
while the mouse is down, I'll probably change things so that it doesn't
update there either.
The behavior on click-in-gutter-keep-left-down-then-move-mouse varies
a surprising amount between platforms. This implements the macOS
behavior where the scrubber follows the mouse direction while scrolling
by pages. (To be precise, it's the macOS behavior of Finder and Preview,
Safari has Windows's scrollbar behavior).
On Windows, the first click locks in the scroll direction and then
dragging the mouse off the scrubber in that direction makes the
scroll continue, but dragging it off the other direction has no effect.
I see no reason for that behavior.
2020-08-25 18:09:56 +02:00
..
2020-07-23 17:31:08 +02:00
2020-05-27 11:44:19 +02:00
2020-06-10 10:59:04 +02:00
2020-07-26 17:51:00 +02:00
2020-08-24 21:20:54 +02:00
2020-08-24 21:03:34 +02:00
2020-08-24 21:20:54 +02:00
2020-08-24 21:20:54 +02:00
2020-08-25 09:46:28 +02:00
2020-08-25 09:46:28 +02:00
2020-08-22 13:10:14 +02:00
2020-08-15 13:45:08 +02:00
2020-06-10 10:59:04 +02:00
2020-07-04 17:25:31 +02:00
2020-05-22 18:23:02 +02:00
2020-08-23 11:22:21 +02:00
2020-08-22 11:54:30 +02:00
2020-07-04 17:25:31 +02:00
2020-05-12 20:31:16 +02:00
2020-05-14 22:53:58 +02:00
2020-05-16 09:11:46 +02:00
2020-08-22 11:54:30 +02:00
2020-06-10 10:59:04 +02:00
2020-06-10 10:59:04 +02:00
2020-08-13 16:58:31 +02:00
2020-04-29 16:22:09 +02:00
2020-08-16 16:44:09 +02:00
2020-06-10 10:59:04 +02:00
2020-08-21 21:16:13 +02:00
2020-08-21 21:16:13 +02:00
2020-07-20 21:03:48 +02:00
2020-07-20 21:03:48 +02:00
2020-08-16 11:04:00 +02:00
2020-07-27 12:11:19 +02:00
2020-07-27 12:11:19 +02:00
2020-08-17 17:47:14 +02:00
2020-08-17 17:47:14 +02:00
2020-08-16 16:37:39 +02:00
2020-06-10 10:59:04 +02:00
2020-08-05 22:33:42 +02:00
2020-05-17 22:35:25 +02:00
2020-07-04 17:25:31 +02:00
2020-08-22 13:11:25 +02:00
2020-08-12 20:41:13 +02:00
2020-08-12 20:41:13 +02:00
2020-08-17 22:02:21 +02:00
2020-08-13 20:18:11 +02:00
2020-08-17 22:02:21 +02:00
2020-08-17 22:02:21 +02:00
2020-08-16 16:44:09 +02:00
2020-08-16 16:44:09 +02:00
2020-08-15 00:05:45 +02:00
2020-08-17 18:05:35 +02:00
2020-04-24 19:05:02 +02:00
2020-06-10 10:59:04 +02:00
2020-07-14 17:55:39 +02:00
2020-05-06 19:28:59 +02:00
2020-08-16 16:44:09 +02:00
2020-07-13 19:49:34 +02:00
2020-07-23 17:43:44 +02:00
2020-07-23 17:31:08 +02:00
2020-05-01 16:58:18 +02:00
2020-05-01 16:58:18 +02:00
2020-05-01 16:58:18 +02:00
2020-05-01 16:58:18 +02:00
2020-07-18 16:27:57 +02:00
2020-07-16 16:10:21 +02:00
2020-08-16 16:44:09 +02:00
2020-08-16 16:44:09 +02:00
2020-07-01 11:18:44 +02:00
2020-08-24 19:15:07 +02:00
2020-08-16 16:44:09 +02:00
2020-07-15 13:19:44 +02:00
2020-07-28 16:29:44 +02:00
2020-07-28 16:29:44 +02:00
2020-04-21 16:19:18 +02:00
2020-04-21 16:19:18 +02:00
2020-07-11 11:45:49 +02:00
2020-07-11 11:45:49 +02:00
2020-07-23 17:31:08 +02:00
2020-07-16 16:10:21 +02:00
2020-08-13 20:18:11 +02:00
2020-08-16 16:44:09 +02:00
2020-08-24 18:21:33 +02:00
2020-08-16 16:44:09 +02:00
2020-08-16 16:44:09 +02:00
2020-08-16 16:44:09 +02:00
2020-07-13 19:49:34 +02:00
2020-08-14 12:15:11 +02:00
2020-08-16 16:44:09 +02:00
2020-08-16 16:44:09 +02:00
2020-04-06 11:09:01 +02:00
2020-04-06 11:09:01 +02:00
2020-08-16 16:44:09 +02:00
2020-08-15 19:07:47 +02:00
2020-07-26 17:51:00 +02:00
2020-07-26 17:51:00 +02:00
2020-04-23 15:58:39 +02:00
2020-05-29 07:59:45 +02:00
2020-08-16 16:44:09 +02:00
2020-08-16 16:44:09 +02:00
2020-08-12 11:02:30 +02:00
2020-06-10 10:59:04 +02:00
2020-08-25 18:09:56 +02:00
2020-08-25 18:09:56 +02:00
2020-08-19 21:17:02 +02:00
2020-07-04 17:22:23 +02:00
2020-07-18 16:27:57 +02:00
2020-06-10 10:59:04 +02:00
2020-08-16 16:44:09 +02:00
2020-08-16 16:44:09 +02:00
2020-07-20 21:03:48 +02:00
2020-07-20 21:03:48 +02:00
2020-07-07 23:11:39 +02:00
2020-06-10 10:59:04 +02:00
2020-07-26 17:51:00 +02:00
2020-04-23 18:52:34 +02:00
2020-05-07 22:04:56 +02:00
2020-08-24 21:20:54 +02:00
2020-05-21 13:40:52 +02:00
2020-08-24 00:05:40 +02:00
2020-06-10 10:59:04 +02:00
2020-05-27 20:04:52 +02:00
2020-05-27 20:04:52 +02:00
2020-08-05 22:33:42 +02:00
2020-08-15 15:06:35 +02:00
2020-08-22 09:48:59 +02:00
2020-08-15 15:06:35 +02:00
2020-04-23 17:44:49 +02:00
2020-04-25 17:16:05 +02:00
2020-07-22 17:48:11 +02:00
2020-08-16 16:44:09 +02:00
2020-07-07 13:38:35 +02:00
2020-06-10 10:59:04 +02:00
2020-06-12 21:28:55 +02:00
2020-08-22 13:11:25 +02:00
2020-08-15 13:45:08 +02:00
2020-08-23 01:05:22 +02:00
2020-08-23 01:05:22 +02:00
2020-08-22 13:11:25 +02:00
2020-07-15 17:15:45 +02:00
2020-04-18 21:10:16 +02:00