-
Notifications
You must be signed in to change notification settings - Fork 19
Highlighter tool #43
Description
When I enable the Highlighter tool (setHighlightColor and setTextHighlighterOn), highlighting works correctly. But when I touch the PDF screen, instead of selecting text, it behaves like freehand doodle/ink drawing.
Expected behavior:
When Highlighter mode is enabled, the user should only be able to select text and apply highlight. The ink/doodle mode should not be triggered automatically.
What I tried:
Set pdfViewer.cursorToolMode = TEXT_SELECT
Tried disabling ink and other tools via setInkOn(false), setFreeTextOn(false), setStampOn(false)
But still, on touch, the doodle behavior is triggered.
Question:
Is there any additional API call required to properly enable only Highlighter mode?
Or is this a bug where ink/doodle mode gets activated automatically?