Merge branch 'feature/initial-viewer-ui-updates' of https://github.com/specklesystems/speckle-server into feature/initial-viewer-ui-updates

This commit is contained in:
andrewwallacespeckle
2025-07-31 16:45:19 +02:00
@@ -120,6 +120,10 @@ const toggleActivePanel = (panel: ActivePanel) => {
if (panel === ActivePanel.sectionBox) {
toggleSectionBox()
}
if (panel === ActivePanel.measurements) {
enableMeasurements(true)
}
}
const toggleMeasurements = () => {
@@ -132,6 +136,9 @@ const onActivePanelClose = () => {
if (activePanel.value === ActivePanel.sectionBox) {
toggleSectionBox()
}
if (activePanel.value === ActivePanel.measurements) {
enableMeasurements(false)
}
activePanel.value = ActivePanel.none
}