commit
15f86a113a
|
@ -241,7 +241,7 @@ define([
|
|||
lockDrag = true;
|
||||
}
|
||||
});
|
||||
if (this.bar.selectTabs.length === this.bar.tabs.length || this.bar.tabs.length === 1) {
|
||||
if (this.bar.selectTabs.length === this.bar.tabs.length || this.bar.tabs.length === 1 || this.bar.isEditFormula) {
|
||||
lockDrag = true;
|
||||
}
|
||||
this.bar.$el.find('ul > li > span').attr('draggable', !lockDrag);
|
||||
|
|
|
@ -208,11 +208,14 @@ define([
|
|||
statusbar = this.statusbar;
|
||||
|
||||
statusbar.isEditFormula = disableAdd;
|
||||
statusbar.tabbar && (statusbar.tabbar.isEditFormula = disableAdd);
|
||||
statusbar.btnZoomUp.setDisabled(disable);
|
||||
statusbar.btnZoomDown.setDisabled(disable);
|
||||
statusbar.labelZoom[disable?'addClass':'removeClass']('disabled');
|
||||
statusbar.btnAddWorksheet.setDisabled(disable || this.api.asc_isWorkbookLocked() || statusbar.rangeSelectionMode!=Asc.c_oAscSelectionDialogType.None);
|
||||
|
||||
statusbar.$el.find('#statusbar_bottom li span').attr('oo_editor_input', !disableAdd);
|
||||
|
||||
if (disableAdd && mask.length>0 || !disableAdd && mask.length==0) return;
|
||||
statusbar.$el.find('.statusbar').toggleClass('masked', disableAdd);
|
||||
if(disableAdd) {
|
||||
|
|
|
@ -246,10 +246,17 @@
|
|||
|
||||
&.mousemove {
|
||||
|
||||
&:first-child {
|
||||
> span {
|
||||
padding-left: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
> span {
|
||||
border-left: 2px solid @gray-deep;
|
||||
padding-left: 9px;
|
||||
}
|
||||
|
||||
&.right {
|
||||
> span {
|
||||
border-left: 1px solid @gray-dark;
|
||||
|
|
Loading…
Reference in a new issue