From b2750b0f7071693d7a103b6f25b7e46e7837bc23 Mon Sep 17 00:00:00 2001 From: SpliiT Date: Thu, 28 May 2026 14:48:32 +0200 Subject: [PATCH 1/2] fix(Z-indexes): Redifine z-indexes between 0 and 5 --- app/components/CameraManager.vue | 2 +- app/components/CameraOrientation.vue | 2 +- app/components/FeedBack/ErrorBanner.vue | 2 +- app/components/FeedBack/Snackers.vue | 1 + app/components/HybridRenderingView.vue | 14 +++++++++++--- app/components/HybridViewerTooltip.vue | 2 +- app/components/Launcher.vue | 2 +- app/components/Loading.vue | 15 ++++----------- app/components/RemoteRenderingView.vue | 4 ++-- app/components/ToolPanel.vue | 2 +- app/components/ViewToolbar.vue | 2 +- .../Viewer/ContextMenu/CenterButton.vue | 2 +- .../Viewer/ContextMenu/ContextMenuItem.vue | 2 +- app/components/Viewer/ContextMenu/InfoCard.vue | 2 +- .../Viewer/ObjectTree/Base/StickyHeader.vue | 2 +- app/components/Viewer/ObjectTree/Layout.vue | 6 +++--- app/components/Viewer/Ui.vue | 2 +- 17 files changed, 33 insertions(+), 31 deletions(-) diff --git a/app/components/CameraManager.vue b/app/components/CameraManager.vue index cd8166724..115e76bcd 100644 --- a/app/components/CameraManager.vue +++ b/app/components/CameraManager.vue @@ -21,7 +21,7 @@ const { show_dialog, width } = defineProps({ variant="panel" padding="pa-0" class="position-absolute elevation-24" - style="z-index: 2; top: 90px; right: 55px" + style="top: 90px; right: 55px" z-index="1" > diff --git a/app/components/CameraOrientation.vue b/app/components/CameraOrientation.vue index e512c4636..d138fc419 100644 --- a/app/components/CameraOrientation.vue +++ b/app/components/CameraOrientation.vue @@ -172,7 +172,7 @@ watch(hoveredFace, (newFace, oldFace) => { v-model="show" title="Camera Orientations" :width="width" - style="z-index: 2; top: 90px; right: 55px" + style="top: 90px; right: 55px" z-index="1" >
diff --git a/app/components/FeedBack/Snackers.vue b/app/components/FeedBack/Snackers.vue index 6ae99d34d..0b309728a 100644 --- a/app/components/FeedBack/Snackers.vue +++ b/app/components/FeedBack/Snackers.vue @@ -24,6 +24,7 @@ function calc_margin(index) { max-width="200px" height="20px" timeout="10000" + z-index="4" > diff --git a/app/components/HybridRenderingView.vue b/app/components/HybridRenderingView.vue index 96a65c463..c46801e6c 100644 --- a/app/components/HybridRenderingView.vue +++ b/app/components/HybridRenderingView.vue @@ -12,7 +12,8 @@ const container = useTemplateRef("viewer"); const hybridViewerStore = useHybridViewerStore(); const viewerStore = useViewerStore(); -const { width: elementWidth, height: elementHeight } = useElementSize(container); +const { width: elementWidth, height: elementHeight } = + useElementSize(container); const { width: windowWidth, height: windowHeight } = useWindowSize(); const debouncedResize = debounce(() => { @@ -58,10 +59,17 @@ async function handleClick(event) {