Jonas Jenwald
7bca3c81a9
Fix CSS-only zooming in the viewer (PR 15812 follow-up)
...
Currently if you e.g. enable the `useOnlyCssZoom` option rendering may no longer finish as intended. To reproduce:
- Enable the `useOnlyCssZoom` option.
- Load https://github.com/mozilla/pdf.js/files/1522715/wuppertal_2012.pdf (in the development viewer).
- When rendering starts, *immediately* change the zoom-level.
In this case the document will never finish rendering, since the `postponeDrawing`-functionality will (here incorrectly) abort rendering and with CSS-only zooming rendering is only expected to happen once per page.
To fix this we'll simply ignore any `drawingDelay` when CSS-only zooming is used (regardless if it's triggered via the option or the zoom-level being very large).
2023-03-29 10:36:48 +02:00
..
2023-01-02 14:58:53 +01:00
2015-01-26 16:44:45 +01:00
2023-03-22 09:49:43 +01:00
2023-02-01 17:53:44 +01:00
2022-07-27 18:46:25 +02:00
2023-03-06 17:27:11 +01:00
2022-12-14 12:23:24 +01:00
2023-03-14 10:12:42 +01:00
2023-03-08 10:37:06 +01:00
2022-06-13 10:47:37 +02:00
2015-08-14 18:59:55 +02:00
2023-02-09 11:18:08 +01:00
2011-07-05 10:53:57 -07:00
2023-03-25 10:08:27 +01:00
2022-12-01 15:43:17 +01:00
2023-02-06 12:02:22 +01:00
2022-11-04 15:29:45 +01:00
2022-08-03 17:25:01 +02:00
2023-03-08 10:37:06 +01:00
2022-01-23 19:53:01 +01:00
2022-12-03 12:52:36 +01:00
2021-12-15 23:14:25 +01:00
2022-06-12 13:07:03 +02:00
2022-12-18 13:26:54 +01:00
2023-03-23 12:57:10 +01:00
2022-06-13 10:47:37 +02:00
2022-08-22 11:17:08 +02:00
2022-11-23 10:47:33 +01:00
2023-02-05 14:12:32 +01:00
2022-05-28 12:39:49 +02:00
2022-03-31 23:12:56 +02:00
2023-03-23 12:57:10 +01:00
2019-12-26 12:34:24 +01:00
2022-04-05 14:13:20 +02:00
2022-09-01 17:34:24 +02:00
2023-03-22 15:31:10 +01:00
2022-10-06 10:33:07 +02:00
2023-03-29 10:36:48 +02:00
2022-10-30 21:55:44 +01:00
2022-09-24 15:02:12 +02:00
2021-12-15 23:17:08 +01:00
2023-02-07 16:07:12 +01:00
2022-05-25 09:55:54 +02:00
2022-09-30 09:59:58 +02:00
2022-09-08 12:38:17 +02:00
2022-07-31 13:59:56 +02:00
2023-02-12 18:38:31 +01:00
2022-12-18 13:26:54 +01:00
2023-03-19 12:31:34 +01:00
2023-03-25 20:46:02 +01:00
2019-12-26 12:34:24 +01:00
2022-03-12 17:25:45 +01:00
2022-06-12 13:07:03 +02:00
2023-02-05 14:12:32 +01:00
2023-02-07 15:33:01 +01:00
2023-02-05 14:12:32 +01:00
2022-08-14 11:38:17 +02:00
2022-12-01 18:42:43 +01:00
2023-03-19 14:32:37 +01:00
2022-12-26 18:13:17 +01:00
2023-02-04 14:18:48 +01:00
2023-03-23 12:57:10 +01:00
2020-03-21 13:55:06 +01:00
2023-03-26 10:35:19 +02:00
2023-03-14 10:12:42 +01:00
2023-02-07 22:45:19 +01:00
2017-05-31 09:22:25 -05:00
2022-03-28 11:36:29 +02:00
2023-03-14 10:12:42 +01:00
2016-02-14 13:23:34 +01:00
2017-05-31 09:22:25 -05:00
2023-03-22 12:59:10 +01:00
2023-03-18 17:17:46 +01:00
2023-02-09 11:18:08 +01:00
2023-01-18 10:49:52 +01:00
2022-12-11 13:08:23 +01:00