[DE] Disable indents for smart arts

This commit is contained in:
Julia Radzhabova 2021-11-09 23:18:49 +03:00
parent 83654aae79
commit 4b0ed91feb

View file

@ -804,6 +804,8 @@ define([
item.setDisabled(need_disable); item.setDisabled(need_disable);
}, this); }, this);
} }
toolbar.btnDecLeftOffset.setDisabled(need_disable || shape_pr && shape_pr.asc_getFromSmartArtInternal());
toolbar.btnIncLeftOffset.setDisabled(need_disable || shape_pr && shape_pr.asc_getFromSmartArtInternal());
in_control = this.api.asc_IsContentControl(); in_control = this.api.asc_IsContentControl();
var control_props = in_control ? this.api.asc_GetContentControlProperties() : null, var control_props = in_control ? this.api.asc_GetContentControlProperties() : null,