From cffa534df72344bd521c5b83080f57c9be4d56a6 Mon Sep 17 00:00:00 2001 From: Rohit Paul <113459757+RohitPaul12345@users.noreply.github.com> Date: Thu, 3 Aug 2023 19:35:31 +0530 Subject: [PATCH] Update leap.screen-position.js --- v1/screen-position/leap.screen-position.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/v1/screen-position/leap.screen-position.js b/v1/screen-position/leap.screen-position.js index 3a95fee..9ad728a 100644 --- a/v1/screen-position/leap.screen-position.js +++ b/v1/screen-position/leap.screen-position.js @@ -28,10 +28,10 @@ More info on vec3 can be found, here: http://glmatrix.net/docs/2.2.0/symbols/vec (function() { - var screenPosition; + let screenPosition; screenPosition = function(options) { - var baseScale, baseVerticalOffset, position, positioningMethods; + let baseScale, baseVerticalOffset, position, positioningMethods; if (options == null) { options = {}; } @@ -49,7 +49,7 @@ More info on vec3 can be found, here: http://glmatrix.net/docs/2.2.0/symbols/vec } }; position = function(vec3, memoize) { - var screenPositionVec3; + let screenPositionVec3; if (memoize == null) { memoize = false; }