Nicolò Ribaudo
dc5d6aad8a
Avoid degrading scroll performance due to the detail view
...
When scrolling quickly, the constant re-rendering of the detail view
significantly affects rendering performance, causing Firefox to
not render even the _background canvas_, which is just a static canvas
not being re-drawn by JavaScript.
This commit changes the viewer to only render the detail view while
scrolling if its rendering hasn't just been cancelled. This means that:
- when the user is scrolling slowly, we have enough time to render the
detail view before that we need to change its area, so the user always
sees the full screen as high resolution.
- when the user is scrolling quickly, as soon as we have to cancel a
rendering we just give up, and the user will see the lower resolution
canvas. When then the user stops scrolling, we render the detail view
for the new visible area.
2025-02-21 10:00:57 -08:00
..
2025-02-14 14:00:45 +01:00
2025-01-18 09:35:11 +01:00
2025-02-14 15:43:00 +01:00
2025-02-11 14:36:06 +01:00
2025-01-21 23:29:45 +01:00
2025-01-30 10:54:56 +01:00
2025-02-11 14:36:06 +01:00
2025-02-19 13:18:31 +01:00
2025-02-21 10:00:55 -08:00
2025-02-21 10:00:55 -08:00
2025-02-19 13:18:31 +01:00
2025-02-21 10:00:55 -08:00
2024-08-12 12:26:35 +02:00
2024-10-01 19:43:16 +02:00
2015-08-14 18:59:55 +02:00
2025-02-14 14:00:45 +01:00
2011-07-05 10:53:57 -07:00
2024-01-26 18:31:38 +01:00
2023-10-09 12:06:33 +02:00
2025-02-14 14:00:45 +01:00
2024-12-06 14:47:22 +01:00
2024-11-28 15:23:03 +01:00
2025-01-21 23:29:45 +01:00
2025-01-29 21:52:14 +01:00
2024-06-25 21:03:34 +02:00
2025-02-10 19:09:51 +01:00
2024-03-12 13:18:15 +01:00
2025-02-14 14:00:45 +01:00
2025-02-17 13:40:09 +01:00
2025-02-14 14:00:45 +01:00
2025-02-14 14:00:45 +01:00
2025-02-13 11:53:45 +01:00
2024-11-28 13:25:56 +01:00
2024-08-02 20:46:13 +02:00
2024-12-06 14:47:22 +01:00
2025-02-13 15:59:57 +01:00
2025-02-14 15:43:00 +01:00
2025-02-14 15:43:00 +01:00
2025-02-14 15:43:00 +01:00
2024-05-01 18:02:05 +02:00
2024-09-28 12:29:51 +02:00
2024-12-01 12:25:16 +01:00
2024-12-06 17:53:28 +01:00
2025-02-17 13:40:09 +01:00
2023-04-17 14:31:23 +02:00
2024-08-25 20:34:03 +02:00
2024-10-01 13:25:22 +02:00
2024-07-18 13:29:32 +02:00
2024-04-29 18:54:06 +02:00
2025-02-21 10:00:57 -08:00
2025-02-21 10:00:55 -08:00
2024-04-18 18:41:18 +02:00
2025-02-17 13:40:09 +01:00
2025-02-21 10:00:57 -08:00
2024-01-21 10:13:12 +01:00
2024-12-06 14:47:22 +01:00
2024-08-10 12:24:59 +02:00
2022-09-08 12:38:17 +02:00
2024-09-16 14:48:26 +02:00
2025-02-21 10:00:57 -08:00
2024-01-31 14:07:11 +01:00
2025-02-13 15:59:57 +01:00
2025-02-21 10:00:57 -08:00
2025-02-10 19:20:32 +01:00
2024-08-12 12:26:35 +02:00
2023-10-26 12:05:33 +02:00
2024-09-28 12:29:51 +02:00
2025-02-20 18:33:19 +01:00
2025-02-20 14:03:59 +01:00
2025-02-11 14:36:06 +01:00
2025-02-05 23:00:38 +01:00
2023-09-07 18:22:33 +02:00
2024-12-16 16:04:13 +01:00
2024-09-05 17:59:42 +02:00
2025-01-21 23:29:45 +01:00
2025-01-07 10:29:23 +01:00
2024-03-04 19:32:12 +01:00
2025-01-30 10:54:56 +01:00
2025-02-21 10:00:55 -08:00
2020-03-21 13:55:06 +01:00
2024-10-02 19:17:40 +02:00
2025-02-05 23:00:38 +01:00
2024-12-07 13:44:48 +01:00
2023-10-19 11:20:41 +02:00
2022-03-28 11:36:29 +02:00
2023-10-07 09:31:08 +02:00
2023-10-19 11:20:41 +02:00
2025-02-20 19:31:57 +01:00
2025-02-14 14:00:45 +01:00
2025-02-14 14:00:45 +01:00
2023-10-06 09:50:03 +02:00
2025-01-21 23:29:45 +01:00