@3cr/viewer-browser 0.0.29 → 0.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Viewer3CR.js +9 -9
- package/dist/Viewer3CR.mjs +3770 -3774
- package/dist/Viewer3CR.umd.js +10 -10
- package/package.json +1 -1
- package/src/components/MftpWebGL3DRModal.vue +14 -11
package/package.json
CHANGED
|
@@ -360,7 +360,7 @@
|
|
|
360
360
|
<div
|
|
361
361
|
class="bordered-event-window"
|
|
362
362
|
v-for="layout in scanState.Layout.PositionData"
|
|
363
|
-
:key="
|
|
363
|
+
:key="componentKey"
|
|
364
364
|
:style="{
|
|
365
365
|
...generateDivStyleForLayout(layout),
|
|
366
366
|
cursor: getCurrentActiveView(layout) === ScanView.Volume ? 'grab !important' : 'default',
|
|
@@ -371,16 +371,15 @@
|
|
|
371
371
|
<div style="width: 100%; height: 100%">
|
|
372
372
|
<div class="buttons-in-view" v-show="isHovering">
|
|
373
373
|
<div v-if="scanState.Layout.PositionData.length !== 1">
|
|
374
|
-
<v-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
</template>
|
|
374
|
+
<v-btn
|
|
375
|
+
class="transparent icon"
|
|
376
|
+
icon="fullscreen"
|
|
377
|
+
color="white"
|
|
378
|
+
@click="fullscreenLayout(layout.DefaultView)"
|
|
379
|
+
>
|
|
380
|
+
|
|
381
|
+
</v-btn>
|
|
382
|
+
<v-tooltip target="cursor" location="top" activator="parent">
|
|
384
383
|
Make {{ getViewName(getCurrentActiveView(layout)) }} fullscreen
|
|
385
384
|
</v-tooltip>
|
|
386
385
|
</div>
|
|
@@ -571,6 +570,7 @@ defineExpose({
|
|
|
571
570
|
export interface Props {
|
|
572
571
|
payload: LoadViewerPayload;
|
|
573
572
|
}
|
|
573
|
+
const componentKey = ref(0);
|
|
574
574
|
|
|
575
575
|
const props = withDefaults(defineProps<Props>(), {
|
|
576
576
|
payload: () => ({
|
|
@@ -769,6 +769,9 @@ watch(() => scanState.value.InteractionSettings.RotateSensitivity, async (value:
|
|
|
769
769
|
watch(() => scanState.value.InteractionSettings.CameraRotateSensitivity, async (value: number) => {
|
|
770
770
|
await scanMovementHandler(ScanMovementActions.sm12, value);
|
|
771
771
|
})
|
|
772
|
+
watch( () => scanState.value.Layout.PositionData, () => {
|
|
773
|
+
componentKey.value += 1
|
|
774
|
+
})
|
|
772
775
|
|
|
773
776
|
function getIconForPreset(presetName: string): string | undefined {
|
|
774
777
|
// if (presetName === 'Bone') return 'fa-solid fa-bone';
|