Skip to content

Commit

Permalink
fix(scene): comment tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
haweston authored and mumanity committed Nov 7, 2023
1 parent 7a15943 commit 234b703
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const DataOverlayComponent = ({ node, component }: DataOverlayComponentPr
}
};

// enforces a zIndex on the outer div of HTML to push the selected overlay to the front before other overlays
// enforces a zIndex on outer div of r3f HTML to push the selected overlay to the front before other overlays
useEffect(() => {
if (htmlRef.current?.parentElement) {
htmlRef.current.parentElement.style.zIndex = node.ref == selectedSceneNodeRef ? '999' : '1';
Expand Down

0 comments on commit 234b703

Please sign in to comment.