Skip to content

Commit

Permalink
refactor(#5): ♻️ Small cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
gautegf committed Oct 1, 2025
1 parent 37c660f commit d028b7e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
href="/libs/jstree/themes/mixed/style.css"
/>
<link rel="stylesheet" type="text/css" href="src/style.css" />
<link rel="stylesheet" href="/src/measurementsPanel.css" />
</head>

<body>
Expand Down Expand Up @@ -55,9 +56,9 @@
</div>

<script src="src/ElevationControl/elevationControl.js"></script>
<link rel="stylesheet" href="/src/measurementsPanel.css" />
<script src="/src/measurementsPanel.js"></script>
<script>

<script type="module">
window.viewer = new Potree.Viewer(
document.getElementById('potree_render_area')
)
Expand All @@ -79,9 +80,10 @@

if (window.initElevationControls) {
window.initElevationControls(viewer)
} else {
console.warn('initElevationControls not found on window')
}

// Initialize custom measurements panel (global function from measurementsPanel.js)
if (window.initMeasurementsPanel) {
window.initMeasurementsPanel(viewer)
} else {
Expand Down

0 comments on commit d028b7e

Please sign in to comment.