Matthias Mullie has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/360324 )
Change subject: Disable panning
......................................................................
Disable panning
Bug: T166696
Change-Id: I6b627facc7b640219e498ca15056ce5adbb28658
---
M modules/mmv.3d.js
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/3D
refs/changes/24/360324/1
diff --git a/modules/mmv.3d.js b/modules/mmv.3d.js
index df622fc..3539a54 100644
--- a/modules/mmv.3d.js
+++ b/modules/mmv.3d.js
@@ -50,6 +50,7 @@
this.controls.addEventListener( 'start', $.proxy( function () {
threed.controlsStart(); }, threed ) );
this.controls.addEventListener( 'end', $.proxy( function () {
threed.controlsEnd(); }, threed ) );
this.controls.enableKeys = false;
+ this.controls.enablePan = false;
this.controls.update();
$( window ).on( 'resize.3d', $.debounce( 100, $.proxy( function
() { threed.onWindowResize(); }, threed ) ) );
--
To view, visit https://gerrit.wikimedia.org/r/360324
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6b627facc7b640219e498ca15056ce5adbb28658
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/3D
Gerrit-Branch: master
Gerrit-Owner: Matthias Mullie <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits