CesiumGS / cesium

An open-source JavaScript library for world-class 3D globes and maps :earth_americas:
https://cesium.com/cesiumjs/
Apache License 2.0
12.91k stars 3.48k forks source link

Camera gets stuck in tilt mode #7219

Open hpinkos opened 6 years ago

hpinkos commented 6 years ago

Reported by @moodragon46 in #7137

This is a fix for a bug that can be replicated using the following steps:

  1. Use the middle mouse button to tilt
  2. While holding the middle mouse button down, click the left mouse button
  3. Release the middle mouse button.

The camera will be stuck in tilt mode until the middle mouse button is pressed and released again. The expected behaviour is that the camera will stop when the middle mouse button is released for the first time.

mousefix

hpinkos commented 6 years ago

Opened this issue to keep track of this bug. @moodragon46 submitted a fix in #7137 but we had to revert it before the 1.51 release because it introduce this bug: #7215

stacksparrow4 commented 6 years ago

I'll look into it.

hpinkos commented 6 years ago

Thanks @moodragon46 !

chris-cooper commented 5 years ago

Hmm, the issue auto closed based on a private PR referencing it.

ggetz commented 2 months ago

@jjspace Is this issue resolved with https://github.com/CesiumGS/cesium/pull/12073?

jjspace commented 2 months ago

@ggetz I'm unable to reproduce this before or after merging that PR. I think this might've already been fixed somewhere along the way