Commit 06150484 authored by techird's avatar techird

添加默认缩放等级

parent 27e48555
...@@ -148,6 +148,9 @@ define(function(require, exports, module) { ...@@ -148,6 +148,9 @@ define(function(require, exports, module) {
return { return {
init: function() { init: function() {
this._zoomValue = 100; this._zoomValue = 100;
this.addDefaultOption({
zoom: [10, 20, 50, 100, 200]
});
setTextRendering(); setTextRendering();
}, },
commands: { commands: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment