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:
Sameh Khamis committed 2026-11-05 18:34:10 -08:00
1 parent ad98c80118
commit 6921e075d0
6 files changed
+112 -103

No files matched your search

+1 -1
View File
@@ -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,