From 622e6044a47312ff50811974f4599392809308bd Mon Sep 17 00:00:00 2001 From: David Tsay Date: Fri, 10 Feb 2023 07:30:07 -0800 Subject: [PATCH] avoid -0 --- src/plugins/imagery/components/Compass/Compass.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/imagery/components/Compass/Compass.vue b/src/plugins/imagery/components/Compass/Compass.vue index f74638dfc4..ca96c77814 100644 --- a/src/plugins/imagery/components/Compass/Compass.vue +++ b/src/plugins/imagery/components/Compass/Compass.vue @@ -75,7 +75,7 @@ export default { normalizedCameraAzimuth() { return this.hasGimble ? rotate(this.cameraAzimuth) - : rotate(this.heading, -(this.transformations.rotation || 0)); + : rotate(this.heading, -this.transformations.rotation || 0); }, // horizontal rotation from north in degrees heading() {