This repository was archived by the owner on Apr 2, 2023. It is now read-only.
This repository was archived by the owner on Apr 2, 2023. It is now read-only.
.hideAnnotations should not disable annotation creation #97
Open
Description
Currently, calling .hideAnnotations
will also switch off the ability to create new annotations. It's probably better to change the behavior, so that .hideAnnotations
only hides the existing annotations, while annotation creation is still possible.
Controlling of selection functionality would be possible through the .hideSelectionWidget
and showSelectionWidget
API functions, anyway.
Technical note: due to the way selection activation currently works (i.e. viewCanvas being the mouse-sensitive element), this may imply a non-trivial change in the code. On the other hand, the change would likely simplify the touch compatibility.