From c470879afa8ba40a906c3c1223f16b9fdbded8ac Mon Sep 17 00:00:00 2001 From: Stewart Allen Date: Sun, 3 Jan 2021 17:13:02 -0500 Subject: [PATCH] const confuses uglify here --- src/mode/cam/client.js | 2 +- src/mode/fdm/client.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mode/cam/client.js b/src/mode/cam/client.js index be353645..d1010464 100644 --- a/src/mode/cam/client.js +++ b/src/mode/cam/client.js @@ -705,7 +705,7 @@ if (!isCamMode) { return; } - const {widget, x, y, z} = rot; + let {widget, x, y, z} = rot; if (traceOn) { func.traceDone(); } diff --git a/src/mode/fdm/client.js b/src/mode/fdm/client.js index 917effb2..06d68bb9 100644 --- a/src/mode/fdm/client.js +++ b/src/mode/fdm/client.js @@ -113,7 +113,7 @@ if (!isFdmMode) { return; } - const {widget, x, y, z} = rot; + let {widget, x, y, z} = rot; if (x || y) { clearWidgetSupports(widget); } else {