mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-14 07:12:21 +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
@@ -2,7 +2,7 @@ import test from 'node:test';
|
||||
import assert from 'node:assert/strict';
|
||||
import { spawnSync } from 'node:child_process';
|
||||
import { createApplication } from './application.js';
|
||||
import { installTrackpadPinchZoom } from './viewer.js';
|
||||
import { installTrackpadPinchZoom } from '../render/cesium/ctrlWheelZoom.js';
|
||||
|
||||
const phases = ['Scene', 'Controls', 'Data', 'Tools'];
|
||||
function fixture(overrides = {}) {
|
||||
|
||||
Reference in new issue
Block a user