[SSE] Fix bug with updating zoom value in the toolbar menu when editor is loading.
This commit is contained in:
parent
a84fd57c3d
commit
a731a62c55
|
@ -1449,7 +1449,7 @@ define([
|
|||
case 2: // FitPage
|
||||
case 0:
|
||||
default: {
|
||||
this.toolbar.mnuZoom.options.value = percent;
|
||||
this.toolbar.mnuZoom.options.value = Math.floor((zf + .005) * 100);
|
||||
$('.menu-zoom .zoom', this.toolbar.el).html(Math.floor((zf + .005) * 100) + '%');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue