mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-08 12:23:59 +00:00
Move Ctrl+wheel and trackpad pinch zoom into the Cesium renderer
installTrackpadPinchZoom and its pinch scaling move unchanged from src/app/viewer.js to src/render/cesium/ctrlWheelZoom.js, where the input port's ctrlWheelZoom will turn it on and off. The application scene imports it from there; the application/viewer export no longer carries this undocumented helper.
This commit is contained in:
1 parent
60a3a2808e
commit
21f284f79c
6 files changed
+112
-103
No files matched your search
@@ -50,6 +50,7 @@
|
||||
"src/queries/heights.js",
|
||||
"src/render/cesium/internals.js",
|
||||
"src/render/cesium/cameraInput.js",
|
||||
"src/render/cesium/ctrlWheelZoom.js",
|
||||
"src/render/cesium/cameraInput.test.mjs",
|
||||
"src/render/input/router.js",
|
||||
"src/render/input/router.test.mjs",
|
||||
|
||||
@@ -2448,6 +2448,7 @@
|
||||
"src/app/surfaceServices.js",
|
||||
"src/app/tools.js",
|
||||
"src/app/viewer.js",
|
||||
"src/render/cesium/ctrlWheelZoom.js",
|
||||
"src/sky/starrySky.js",
|
||||
"src/sky/stars.js",
|
||||
"src/app/atmosphereCompat.js",
|
||||
|
||||
Reference in new issue
Block a user