From 6be6c04155b29b626f79a8b40cefe462459d2da1 Mon Sep 17 00:00:00 2001 From: amquake Date: Sat, 14 Oct 2023 23:39:14 -0700 Subject: [PATCH] format --- .../src/components/dashboard/tabs/ArucoTab.vue | 7 +++---- .../src/components/dashboard/tabs/TargetsTab.vue | 16 ++++++++-------- photon-client/src/types/PipelineTypes.ts | 2 +- .../vision/pipeline/ArucoPipeline.java | 4 +++- .../vision/pipeline/ArucoPipelineSettings.java | 1 - 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/photon-client/src/components/dashboard/tabs/ArucoTab.vue b/photon-client/src/components/dashboard/tabs/ArucoTab.vue index c20e0f258e..fc53fc1bb8 100644 --- a/photon-client/src/components/dashboard/tabs/ArucoTab.vue +++ b/photon-client/src/components/dashboard/tabs/ArucoTab.vue @@ -15,10 +15,9 @@ const currentPipelineSettings = useCameraSettingsStore().currentPipelineSettings const threshWinSizes = computed<[number, number]>({ get: () => { if (currentPipelineSettings.pipelineType === PipelineType.Aruco) { - return (Object.values(currentPipelineSettings.threshWinSizes) as [number, number]); - } - else { - return ([0, 0] as [number, number]); + return Object.values(currentPipelineSettings.threshWinSizes) as [number, number]; + } else { + return [0, 0] as [number, number]; } }, set: (v) => { diff --git a/photon-client/src/components/dashboard/tabs/TargetsTab.vue b/photon-client/src/components/dashboard/tabs/TargetsTab.vue index 9f93a08f71..4c5fb23972 100644 --- a/photon-client/src/components/dashboard/tabs/TargetsTab.vue +++ b/photon-client/src/components/dashboard/tabs/TargetsTab.vue @@ -35,9 +35,9 @@ import { useStateStore } from "@/stores/StateStore";