mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +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
ad98c80118
commit
6921e075d0
6 files changed
+112
-103
No files matched your search
+1
-1
@@ -1,6 +1,6 @@
|
||||
import { createApplicationOperations } from './operations.js';
|
||||
import * as Cesium from 'cesium';
|
||||
import { installTrackpadPinchZoom } from '../app/viewer.js';
|
||||
import { installTrackpadPinchZoom } from '../render/cesium/ctrlWheelZoom.js';
|
||||
import {
|
||||
cesiumRenderer,
|
||||
cesiumViewerOf,
|
||||
|
||||
Reference in new issue
Block a user