Skip to content

Disable batch annotation when closing the annotations panel

Erwan Rouchet requested to merge disable-batch-deletion into master

Closes #995 (closed)

I did this quick win while going through the frontend issues list to look for any other issues that could have been fixed by !1357 (merged). I was just wondering if this was really a quick win, looked around the code, and… oh look, a fix.

Switching away from the Delete tool to another tool causes the annotation store module to turn off the batch deletion. Closing the annotation panel causes the store module to switch the tool back to the default tool (Move), but it did not disable the batch deletion, which caused this issue. I made the store disable the batch deletion automatically and added some extra checks on the components.

Merge request reports

Loading