[SSE] Fix vertical text in the cell

This commit is contained in:
Julia Radzhabova 2020-05-28 14:55:56 +03:00
parent 5c3b2638f5
commit 8e3e359c89

View file

@ -449,7 +449,7 @@ define([
var xfs = props.asc_getXfs(), var xfs = props.asc_getXfs(),
value = xfs.asc_getAngle(); value = xfs.asc_getAngle();
if (Math.abs(this._state.CellAngle - value) > 0.1 || (this._state.CellAngle === undefined) && (this._state.CellAngle !== value)) { if (Math.abs(this._state.CellAngle - value) > 0.1 || (this._state.CellAngle === undefined) && (this._state.CellAngle !== value)) {
this.spnAngle.setValue((value !== null) ? value : '', true); this.spnAngle.setValue((value !== null) ? (value==255 ? 0 : value) : '', true);
this._state.CellAngle = value; this._state.CellAngle = value;
} }
this.fill = xfs.asc_getFill(); this.fill = xfs.asc_getFill();