Browse Source

enable zooming on the stats-world

pull/18/head
Trent Larson 2 years ago
parent
commit
b5ab485354
  1. 4
      src/components/World/systems/controls.js

4
src/components/World/systems/controls.js

@ -25,8 +25,8 @@ function createControls(camera, canvas) {
// remember to add to loop updatables to work // remember to add to loop updatables to work
controls.enableDamping = true; controls.enableDamping = true;
controls.enableZoom = false; //controls.enableZoom = false;
controls.enablePan = false; //controls.enablePan = false;
controls.tick = () => controls.update(); controls.tick = () => controls.update();

Loading…
Cancel
Save