From 6905e1310f01d2a2bcdbfebf871301f330028f52 Mon Sep 17 00:00:00 2001 From: Justin Georgi Date: Mon, 28 Oct 2024 15:25:38 -0700 Subject: [PATCH] Enable crosshair cursor for hotspot select Signed-off-by: Justin Georgi --- modules/glmv.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/glmv.js b/modules/glmv.js index 2b75f1b..1a28eff 100644 --- a/modules/glmv.js +++ b/modules/glmv.js @@ -9,6 +9,7 @@ readyAddHotspot = function() { previewMv.one('click', clickAddHotspot) previewMv.addClass('AddingHotspot') previewMv[0].disableTap = true + previewMv[0].toggleAttribute('camera-controls') } /** @@ -25,6 +26,7 @@ clickAddHotspot = function(e) { let hsPosition = null let targetModel = previewMv[0] targetModel.disableTap = false + targetModel.toggleAttribute('camera-controls') if (targetModel) { hsPosition = targetModel.positionAndNormalFromPoint(e.clientX, e.clientY) }