@3cr/viewer-browser 0.0.27 → 0.0.31
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 +3805 -3803
- package/dist/Viewer3CR.umd.js +10 -10
- package/package.json +1 -1
- package/src/components/MftpWebGL3DRModal.vue +5 -1
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',
|
|
@@ -571,6 +571,7 @@ defineExpose({
|
|
|
571
571
|
export interface Props {
|
|
572
572
|
payload: LoadViewerPayload;
|
|
573
573
|
}
|
|
574
|
+
const componentKey = ref(0);
|
|
574
575
|
|
|
575
576
|
const props = withDefaults(defineProps<Props>(), {
|
|
576
577
|
payload: () => ({
|
|
@@ -769,6 +770,9 @@ watch(() => scanState.value.InteractionSettings.RotateSensitivity, async (value:
|
|
|
769
770
|
watch(() => scanState.value.InteractionSettings.CameraRotateSensitivity, async (value: number) => {
|
|
770
771
|
await scanMovementHandler(ScanMovementActions.sm12, value);
|
|
771
772
|
})
|
|
773
|
+
watch( () => scanState.value.Layout.PositionData, () => {
|
|
774
|
+
componentKey.value += 1
|
|
775
|
+
})
|
|
772
776
|
|
|
773
777
|
function getIconForPreset(presetName: string): string | undefined {
|
|
774
778
|
// if (presetName === 'Bone') return 'fa-solid fa-bone';
|