mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-11 01:43:23 +01:00
Add additional zoom out
This commit is contained in:
parent
925ab9e3c2
commit
c9596ba5ab
@ -335,7 +335,7 @@ class Designer extends Events {
|
||||
zoomOut(factor = 1.2) {
|
||||
const model = this.getModel();
|
||||
const scale = model.getZoom() * factor;
|
||||
if (scale <= 3.0) {
|
||||
if (scale <= 7.0) {
|
||||
model.setZoom(scale);
|
||||
this._workspace.setZoom(scale);
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user