1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-19 22:58:07 +02:00

[Editor] Improve drawing on a touch screen.

- it's now possible to start a drawing with a pen and use fingers to zoom
  or scroll without interacting with the current drawing;
- it's now possible to draw with a finger and them zoom with two fingers.
This commit is contained in:
Calixte Denizet 2024-11-28 17:42:13 +01:00
parent 4d228818a9
commit 89f61b4262
4 changed files with 163 additions and 46 deletions

View file

@ -156,7 +156,6 @@
.annotationEditorLayer.inkEditing {
cursor: var(--editorInk-editing-cursor);
touch-action: none;
}
.annotationEditorLayer .draw {