Skip to content

Commit

Permalink
Formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
srimanachanta committed Sep 26, 2023
1 parent 3d83ea7 commit dc23ebb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const saveCameraSettings = () => {
});
}
});
};
};
watchEffect(() => {
currentFov.value = useCameraSettingsStore().currentCameraSettings.fov.value;
Expand Down
2 changes: 1 addition & 1 deletion photon-client/src/components/common/cv-range-slider.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const localValue = computed<[number, number]>({
return Object.values(props.value) as [number, number];
},
set: (v) => {
for(let i = 0; i < v.length; i++) {
for (let i = 0; i < v.length; i++) {
v[i] = parseFloat(v[i] as unknown as string);
}
emit("input", v);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ public static void onCameraSettingsRequest(Context ctx) {
ctx.status(200);
ctx.result("Successfully saved camera settings");
logger.info("Successfully saved camera settings");
} catch (JsonProcessingException|NullPointerException e) {
} catch (JsonProcessingException | NullPointerException e) {
ctx.status(400);
ctx.result("The provided camera settings were malformed");
logger.error("The provided camera settings were malformed", e);
Expand Down

0 comments on commit dc23ebb

Please sign in to comment.