mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-10 17:33:24 +01:00
Increase zoom out.
This commit is contained in:
parent
58c26330ae
commit
e57a6dc5b1
@ -335,7 +335,7 @@ class Designer extends Events {
|
||||
zoomOut(factor = 1.2) {
|
||||
const model = this.getModel();
|
||||
const scale = model.getZoom() * factor;
|
||||
if (scale <= 1.9) {
|
||||
if (scale <= 3.0) {
|
||||
model.setZoom(scale);
|
||||
this._workspace.setZoom(scale);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user