Skip to content

Commit

Permalink
Labels are now isolated, so always behind the context menu
Browse files Browse the repository at this point in the history
  • Loading branch information
vorth committed Mar 18, 2024
1 parent d98ea63 commit 6c7f9ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions online/src/viewer/labels.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export const Labels = (props) =>
onMount( () => {
labelRenderer = new CSS2DRenderer();
const labelsElem = labelRenderer.domElement;
labelsElem.style.isolation = 'isolate';
labelsElem.style.position = 'absolute';
labelsElem.style.pointerEvents = 'none';
labelsElem.style.inset = '0px';
Expand Down

0 comments on commit 6c7f9ac

Please sign in to comment.