mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-02-10 18:15:19 +08:00
fix bug 78521
This commit is contained in:
@ -7527,7 +7527,7 @@
|
|||||||
return "arrow";
|
return "arrow";
|
||||||
};
|
};
|
||||||
EndArrow.prototype.isPresent = function () {
|
EndArrow.prototype.isPresent = function () {
|
||||||
return AscFormat.isRealNumber(this.type) && this.type !== LineEndType.None;
|
return AscFormat.isRealNumber(this.type) && this.type !== LineEndType.None && this.type !== LineEndType.vsdxNone;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -265,6 +265,7 @@ AscCommon.CShapeDrawer.prototype.ds = function(saveToPdfMode) {
|
|||||||
}
|
}
|
||||||
this.Graphics.p_color(R, G, B, alpha);
|
this.Graphics.p_color(R, G, B, alpha);
|
||||||
|
|
||||||
|
|
||||||
if (this.IsRectShape && this.Graphics.AddSmartRect !== undefined) {
|
if (this.IsRectShape && this.Graphics.AddSmartRect !== undefined) {
|
||||||
if (this.Shape.extX != null) {
|
if (this.Shape.extX != null) {
|
||||||
this.Graphics.AddSmartRect(0, 0, this.Shape.extX, this.Shape.extY, this.StrokeWidth);
|
this.Graphics.AddSmartRect(0, 0, this.Shape.extX, this.Shape.extY, this.StrokeWidth);
|
||||||
@ -279,7 +280,7 @@ AscCommon.CShapeDrawer.prototype.ds = function(saveToPdfMode) {
|
|||||||
this.Graphics.m_oContext.lineJoin = this.OldLineJoin;
|
this.Graphics.m_oContext.lineJoin = this.OldLineJoin;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.IsCurrentPathCanArrows === true) {
|
if (this.isArrowPresent()) {
|
||||||
this.drawArrows(false);
|
this.drawArrows(false);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user