Skip to content

Commit

Permalink
Update src/ElevationControl/elevationControl.js
Browse files Browse the repository at this point in the history
Co-authored-by: Adrian Haabpiht Solberg <adriahso@stud.ntnu.no>
  • Loading branch information
mariewah and adriahso authored Oct 9, 2025
1 parent f72731c commit 2bacc89
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/ElevationControl/elevationControl.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,11 @@ function disableFirstPointCloudNode() {
if (!li) return;
//visually/DOM disable anchor clicks
const a = li.querySelector('a');
if (a) a.style.pointerEvents = 'none'
if (a) {
a.style.pointerEvents = 'none'
a.style.opacity = 0.5
a.classList.remove('jstree-clicked')
}
}


Expand Down

0 comments on commit 2bacc89

Please sign in to comment.