@3cr/viewer-browser 0.0.114 → 0.0.116
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/package.json
CHANGED
|
@@ -584,17 +584,17 @@
|
|
|
584
584
|
<v-card min-width="400" class="pb-2">
|
|
585
585
|
<v-card-title>Slice into the 3D Volume</v-card-title>
|
|
586
586
|
<DoubleSliderSelector
|
|
587
|
-
v-model="tSlider"
|
|
587
|
+
v-model:value="tSlider"
|
|
588
588
|
label="Transverse"
|
|
589
589
|
v-bind="tMinMax"
|
|
590
590
|
/>
|
|
591
591
|
<DoubleSliderSelector
|
|
592
|
-
v-model="sSlider"
|
|
592
|
+
v-model:value="sSlider"
|
|
593
593
|
label="Sagittal"
|
|
594
594
|
v-bind="sMinMax"
|
|
595
595
|
/>
|
|
596
596
|
<DoubleSliderSelector
|
|
597
|
-
v-model="cSlider"
|
|
597
|
+
v-model:value="cSlider"
|
|
598
598
|
label="Coronal"
|
|
599
599
|
v-bind="cMinMax"
|
|
600
600
|
/>
|
|
@@ -55,12 +55,11 @@ watch(
|
|
|
55
55
|
|
|
56
56
|
<template>
|
|
57
57
|
<v-slider
|
|
58
|
-
style="position: absolute; right: 0px; top: 0; height:
|
|
58
|
+
style="position: absolute; right: 0px; top: 0; height: calc(100% - 20px)"
|
|
59
59
|
v-model="sliderValue"
|
|
60
60
|
:thumb-label="showThumb"
|
|
61
61
|
:min="min"
|
|
62
62
|
:max="max"
|
|
63
|
-
height="100%"
|
|
64
63
|
direction="vertical"
|
|
65
64
|
thumb-color="blue"
|
|
66
65
|
:thumb-size="16"
|
|
@@ -87,5 +86,8 @@ watch(
|
|
|
87
86
|
& div {
|
|
88
87
|
transform: rotate(180deg);
|
|
89
88
|
}
|
|
89
|
+
& .v-input__control {
|
|
90
|
+
min-height: 32px !important;
|
|
91
|
+
}
|
|
90
92
|
}
|
|
91
93
|
</style>
|
|
@@ -72,7 +72,7 @@ export const tSlider = computed({
|
|
|
72
72
|
},
|
|
73
73
|
set(value: Array<number>) {
|
|
74
74
|
scanState.value.Slice.TransverseLower = value[0];
|
|
75
|
-
scanState.value.Slice.
|
|
75
|
+
scanState.value.Slice.TransverseUpper = value[1];
|
|
76
76
|
},
|
|
77
77
|
});
|
|
78
78
|
export const sSlider = computed({
|