Can not unSetToolMode

how to unSetToolMode

PDF.js Express Version
7.3.4

Detailed description of issue
I can setToolMode() but cannot seem to unset or toggle it off.

Expected behaviour
toggle Tool on and off

Does your issue happen with every document, or just one?
every load

Code snippet
https://pdfjs.express/api/UI.html#.setToolMode

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:APIs:Forums:

Hi there,

You can’t toggle off tools once you have selected a tool, this mimics how the viewer’s UI works. To mimic what the viewer does when you toggle off an annotation you set the tool to the annotation select tool, which is our default tool.

Here’s a snippet on how to do that:
instance.setToolMode('AnnotationEdit');

Cheers,
Dustin