mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-11-14 03:07:57 +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) {
|
zoomOut(factor = 1.2) {
|
||||||
const model = this.getModel();
|
const model = this.getModel();
|
||||||
const scale = model.getZoom() * factor;
|
const scale = model.getZoom() * factor;
|
||||||
if (scale <= 1.9) {
|
if (scale <= 3.0) {
|
||||||
model.setZoom(scale);
|
model.setZoom(scale);
|
||||||
this._workspace.setZoom(scale);
|
this._workspace.setZoom(scale);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user