Skip to content

Commit ffc5645

Browse files
Alextophermcm001
authored andcommitted
prettier
1 parent 7d0ba3c commit ffc5645

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

photon-client/src/components/dashboard/tabs/CropTab.vue

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
22
import { useCameraSettingsStore } from "@/stores/settings/CameraSettingsStore";
3-
import { type ColoredShapePipelineSettings, PipelineType } from "@/types/PipelineTypes";
3+
import { type ColoredShapePipelineSettings, PipelineType } from "@/types/PipelineTypes";
44
import PvSlider from "@/components/common/pv-slider.vue";
55
import { computed, getCurrentInstance } from "vue";
66
import { useStateStore } from "@/stores/StateStore";
@@ -11,19 +11,19 @@ const frame_width = computed(() => useCameraSettingsStore().currentVideoFormat.r
1111
const frame_height = computed(() => useCameraSettingsStore().currentVideoFormat.resolution.height);
1212
const static_x = computed<number>({
1313
get: () => currentPipelineSettings.value.static_x || 0,
14-
set: (value) => useCameraSettingsStore().changeCurrentPipelineSetting({ static_x: value }, false),
14+
set: (value) => useCameraSettingsStore().changeCurrentPipelineSetting({ static_x: value }, false)
1515
});
1616
const static_y = computed<number>({
1717
get: () => currentPipelineSettings.value.static_y || 0,
18-
set: (value) => useCameraSettingsStore().changeCurrentPipelineSetting({ static_y: value }, false),
18+
set: (value) => useCameraSettingsStore().changeCurrentPipelineSetting({ static_y: value }, false)
1919
});
2020
const static_width = computed<number>({
2121
get: () => currentPipelineSettings.value.static_width || frame_width.value,
22-
set: (value) => useCameraSettingsStore().changeCurrentPipelineSetting({ static_width: value }, false),
22+
set: (value) => useCameraSettingsStore().changeCurrentPipelineSetting({ static_width: value }, false)
2323
});
2424
const static_height = computed<number>({
2525
get: () => currentPipelineSettings.value.static_height || frame_height.value,
26-
set: (value) => useCameraSettingsStore().changeCurrentPipelineSetting({ static_height: value }, false),
26+
set: (value) => useCameraSettingsStore().changeCurrentPipelineSetting({ static_height: value }, false)
2727
});
2828
const interactiveCols = computed(() =>
2929
(getCurrentInstance()?.proxy.$vuetify.breakpoint.mdAndDown || false) &&
@@ -69,6 +69,5 @@ const interactiveCols = computed(() =>
6969
:min="1"
7070
:max="frame_height"
7171
/>
72-
7372
</div>
74-
</template>
73+
</template>

0 commit comments

Comments
 (0)