mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-02-10 10:05:19 +08:00
fix bug 78521
This commit is contained in:
@ -7527,7 +7527,7 @@
|
||||
return "arrow";
|
||||
};
|
||||
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);
|
||||
|
||||
|
||||
if (this.IsRectShape && this.Graphics.AddSmartRect !== undefined) {
|
||||
if (this.Shape.extX != null) {
|
||||
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;
|
||||
}
|
||||
|
||||
if (this.IsCurrentPathCanArrows === true) {
|
||||
if (this.isArrowPresent()) {
|
||||
this.drawArrows(false);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user