We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b000f77 commit a09e7cbCopy full SHA for a09e7cb
src/cubism2/LAppDefine.js
@@ -1,6 +1,6 @@
1
const LAppDefine = {
2
- VIEW_MAX_SCALE: 2,
3
- VIEW_MIN_SCALE: 0.8,
+ VIEW_MAX_SCALE: 1.5,
+ VIEW_MIN_SCALE: 1,
4
5
VIEW_LOGICAL_LEFT: -1,
6
VIEW_LOGICAL_RIGHT: 1,
src/cubism2/index.js
@@ -279,7 +279,7 @@ class Cubism2Model {
279
280
if (e.type == 'mousewheel') {
281
if (e.wheelDelta > 0) this.modelScaling(1.1);
282
- else this.modelScaling(1);
+ else this.modelScaling(0.9);
283
} else if (e.type == 'click' || e.type == 'contextmenu') {
284
this.modelTurnHead(e);
285
} else if (e.type == 'mousemove') {
0 commit comments