From 07c4399bbf6fde4ed4abf274ca4d291da9ce3b02 Mon Sep 17 00:00:00 2001 From: Joel Collins Date: Fri, 24 Apr 2020 11:19:46 +0100 Subject: [PATCH] Further layout improvements --- .../controlComponents/paneCapture.vue | 2 +- .../controlComponents/paneNavigate.vue | 15 +- .../genericComponents/taskSubmitter.vue | 4 +- src/components/pluginComponents/JsonForm.vue | 2 +- .../settingsComponents/appSettings.vue | 1 + .../settingsComponents/cameraSettings.vue | 142 +++++++++--------- .../cameraStageMappingSettings.vue | 12 +- .../settingsComponents/statusPane.vue | 7 +- .../settingsComponents/streamSettings.vue | 40 +++-- .../viewComponents/settingsDisplay.vue | 5 - 10 files changed, 121 insertions(+), 109 deletions(-) diff --git a/src/components/controlComponents/paneCapture.vue b/src/components/controlComponents/paneCapture.vue index 5b415c2b..fcc3164b 100644 --- a/src/components/controlComponents/paneCapture.vue +++ b/src/components/controlComponents/paneCapture.vue @@ -247,7 +247,7 @@ @@ -265,15 +265,17 @@ export default { // Lock move requests this.moveLock = true; - if (!this.moveInImageCoordinatesUri){ - this.modalError("Moving in image coordinates is not supported - you will need to upgrade your microscope's software."); + if (!this.moveInImageCoordinatesUri) { + this.modalError( + "Moving in image coordinates is not supported - you will need to upgrade your microscope's software." + ); } // Send move request axios .post(this.moveInImageCoordinatesUri, { x: y, // NB the coordinates are numpy/PIL style, meaning X and Y are swapped. - y: x, + y: x }) .then(() => { this.updatePosition(); // Update the position in text boxes @@ -340,7 +342,8 @@ export default { ); if (foundExtension) { // Get plugin action link - this.moveInImageCoordinatesUri = foundExtension.links.move_in_image_coordinates.href; + this.moveInImageCoordinatesUri = + foundExtension.links.move_in_image_coordinates.href; } }) .catch(error => { diff --git a/src/components/genericComponents/taskSubmitter.vue b/src/components/genericComponents/taskSubmitter.vue index 9ce03642..59d7e9c5 100644 --- a/src/components/genericComponents/taskSubmitter.vue +++ b/src/components/genericComponents/taskSubmitter.vue @@ -13,7 +13,7 @@