Merge pull request #95 from ONLYOFFICE/feature/bugfix5.1.3

[PE] Fix Bug 37534
This commit is contained in:
Alexey Golubev 2018-04-20 14:55:34 +03:00 committed by GitHub
commit 2059e8c863
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,6 +80,7 @@ define([
toolbar.setExtra('left', me.header.getPanel('left', config));
},
'view:compact' : function (toolbar, state) {
me.header.mnuitemCompactToolbar.setChecked(state, true);
me.viewport.vlayout.getItem('toolbar').height = state ?
Common.Utils.InternalSettings.get('toolbar-height-compact') : Common.Utils.InternalSettings.get('toolbar-height-normal');
},