Skip to content

Commit

Permalink
undo annotations-view bug tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
abaevbog committed Oct 11, 2024
1 parent b9c5c6b commit 74891bb
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/common/components/sidebar/annotations-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,6 @@ const AnnotationsView = memo(React.forwardRef((props, ref) => {
}, []);

function handlePointerDown(event) {
// Clicking on the rendered content when a contextmenu is open will
// lead to pointerup event not firing and the annotation becoming not-selectable
// via keyboard until it is clicked.
if (event.target.classList.contains("context-menu-overlay")) return;
pointerDownRef.current = true;
}

Expand Down

0 comments on commit 74891bb

Please sign in to comment.