Skip to content

Commit

Permalink
style(#4): make the old annotation button invisible
Browse files Browse the repository at this point in the history
add annotationPanel.css file and just inserted the css code to make the original annotation button not visible in the toolbar
  • Loading branch information
franmagn committed Oct 13, 2025
1 parent 1b5543f commit f92fb4c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
rel="stylesheet"
href="/src/MeasurementControl/measurementsPanel.css"
/>
<link
rel="stylesheet"
href="/src/AnnotationControl/annotationPanel.css"
/>
</head>

<body>
Expand Down
10 changes: 10 additions & 0 deletions src/AnnotationControl/annotationPanel.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/* Hide Potree annotation icon specifically */
/* This targets the <img class="button-icon"> that references annotation.svg. */
img.button-icon[src$="/annotation.svg"]{
display: none !important;
visibility: hidden !important;
width: 0 !important;
height: 0 !important;
margin: 0 !important;
padding: 0 !important;
}

0 comments on commit f92fb4c

Please sign in to comment.