[SSE] Bug 47433

This commit is contained in:
Julia Radzhabova 2020-12-09 14:45:05 +03:00
parent 1dfb0b997c
commit 3adb8f9629

View file

@ -116,12 +116,12 @@ define([
case 'up':
var f = Math.floor(this.api.asc_getZoom() * 10)/10;
f += .1;
!(f > 2.) && this.api.asc_setZoom(f);
!(f > 4.) && this.api.asc_setZoom(f);
break;
case 'down':
f = Math.ceil(this.api.asc_getZoom() * 10)/10;
f -= .1;
!(f < .5) && this.api.asc_setZoom(f);
!(f < .1) && this.api.asc_setZoom(f);
break;
}
Common.NotificationCenter.trigger('edit:complete', this.statusbar);