修改变量
This commit is contained in:
parent
f774edd652
commit
1918a634b1
3
.gitignore
vendored
3
.gitignore
vendored
@ -6,8 +6,7 @@ yarn-debug.log*
|
|||||||
yarn-error.log*
|
yarn-error.log*
|
||||||
package-lock.json
|
package-lock.json
|
||||||
tests/**/coverage/
|
tests/**/coverage/
|
||||||
/src/utils/baseUrl.js
|
src/utils/baseUrl.js
|
||||||
/src/utils/
|
|
||||||
|
|
||||||
# Editor directories and files
|
# Editor directories and files
|
||||||
.idea
|
.idea
|
||||||
|
@ -160,7 +160,7 @@ class MouseController extends Eventful {
|
|||||||
scale = -1;
|
scale = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.trigger(this.events.__Zoom, {type: 'zoom', scale, originX, originY });
|
this.trigger(this.events.__Zoom, {type: this.events.__Zoom, scale, originX, originY });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -217,10 +217,6 @@ class MouseController extends Eventful {
|
|||||||
|
|
||||||
return newEm;
|
return newEm;
|
||||||
}
|
}
|
||||||
|
|
||||||
updateDatazoom(zoom) {
|
|
||||||
this.trigger(this.events.Datazoom, zoom);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default MouseController;
|
export default MouseController;
|
||||||
|
@ -135,7 +135,7 @@ class MouseController extends Eventful {
|
|||||||
scale = -1;
|
scale = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
this.trigger(this.events.__Zoom, {type: 'zoom', scale, originX, originY });
|
this.trigger(this.events.__Zoom, {type: this.events.__Zoom, scale, originX, originY });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -192,10 +192,6 @@ class MouseController extends Eventful {
|
|||||||
|
|
||||||
return newEm;
|
return newEm;
|
||||||
}
|
}
|
||||||
|
|
||||||
updateDatazoom(zoom) {
|
|
||||||
this.trigger(this.events.Datazoom, zoom);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export default MouseController;
|
export default MouseController;
|
||||||
|
Loading…
Reference in New Issue
Block a user