You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have some logic in my app that involve the combination of CameraEventType.LEFT_DRAG and KeyboardEventModifier.ALT. I am running into an issue where even after I complete the CameraEventType.LEFT_DRAG event, the controls seem to be stuck in a "rotating" state".
Reproduction steps
On the base Sandcastle example:
Use LEFT_DRAG to start rotating the globe by left clicking and dragging the globe
While still holding down the left mouse button, hold down the ALT modifier -- the globe should stop responding to your mouse movement
Release the left mouse button to complete the LEFT_DRAG event while still holding the ALT modifier
Release the ALT modifier and attempt to move the mouse -- the camera is still in a "rotating" state
Thanks @ggetz! I tried changing the event types before creating this ticket to see if that would work but I could never get it working. This is what I tried which I think you were describing as a possible workaround but I am still seeing the same issue:
What happened?
I have some logic in my app that involve the combination of
CameraEventType.LEFT_DRAG
andKeyboardEventModifier.ALT
. I am running into an issue where even after I complete theCameraEventType.LEFT_DRAG
event, the controls seem to be stuck in a "rotating" state".Reproduction steps
On the base Sandcastle example:
LEFT_DRAG
to start rotating the globe by left clicking and dragging the globeALT
modifier -- the globe should stop responding to your mouse movementLEFT_DRAG
event while still holding theALT
modifierALT
modifier and attempt to move the mouse -- the camera is still in a "rotating" stateSandcastle example
https://sandcastle.cesium.com/
Environment
Browser: Chrome 122
CesiumJS Version: CesiumJS 1.115
Operating System: Windows 10
The text was updated successfully, but these errors were encountered: