Skip to content

Commit 1e36e0f

Browse files
committed
Merge branch 'iot-tool-full2d-merge' into iframe-service-orchestrator-demo
2 parents 9819093 + 1b213b6 commit 1e36e0f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

content_scripts/desktopCamera.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ import { TouchControlButtons } from './TouchControlButtons.js';
109109

110110
// set rotateCenterElementId parent as groundPlaneNode to make the coord space of rotateCenterElementId the same as virtual camera and threejsContainerObj
111111
rotateCenterElementId = realityEditor.sceneGraph.addVisualElement('rotateCenter', parentNode, undefined, virtualCamera.getFocusTargetCubeMatrix());
112+
112113

113114
virtualCamera.onPanToggled(function(isPanning) {
114115
if (virtualCamera.lockOnMode) {
@@ -121,6 +122,7 @@ import { TouchControlButtons } from './TouchControlButtons.js';
121122
knownInteractionStates.pan = false;
122123
panToggled();
123124
}
125+
realityEditor.gui.ar.positioning.coverFull2DTools(isPanning);
124126
});
125127
virtualCamera.onRotateToggled(function(isRotating) {
126128
if (virtualCamera.lockOnMode) {
@@ -134,6 +136,7 @@ import { TouchControlButtons } from './TouchControlButtons.js';
134136
knownInteractionStates.rotate = false;
135137
rotateToggled();
136138
}
139+
realityEditor.gui.ar.positioning.coverFull2DTools(isRotating);
137140
});
138141
virtualCamera.onScaleToggled(function(isScaling) {
139142
if (virtualCamera.lockOnMode) {

0 commit comments

Comments
 (0)