Commit 028b208a authored by alexey.musinov's avatar alexey.musinov

[mobile] правки для сборки компонент скриптом

parent 696cf608
...@@ -801,7 +801,7 @@ CShapeDrawer.prototype = ...@@ -801,7 +801,7 @@ CShapeDrawer.prototype =
if (mode == "none" || this.bIsNoFillAttack) if (mode == "none" || this.bIsNoFillAttack)
return; return;
if (this.Graphics.IsTrack) if (this.Graphics.IsTrack && this.Graphics.m_oOverlay)
this.Graphics.m_oOverlay.ClearAll = true; this.Graphics.m_oOverlay.ClearAll = true;
if (this.Graphics.IsSlideBoundsCheckerType) if (this.Graphics.IsSlideBoundsCheckerType)
...@@ -984,8 +984,8 @@ CShapeDrawer.prototype = ...@@ -984,8 +984,8 @@ CShapeDrawer.prototype =
this.Graphics.m_oContext.lineJoin = this.OldLineJoin; this.Graphics.m_oContext.lineJoin = this.OldLineJoin;
} }
var arr = (this.Graphics.IsTrack === true) ? this.Graphics.Graphics.ArrayPoints : this.Graphics.ArrayPoints; var arr = (this.Graphics.IsTrack === true) ? (this.Graphics.Graphics ? this.Graphics.Graphics.ArrayPoints : null) : this.Graphics.ArrayPoints;
if (arr != null && arr.length > 1 && this.IsCurrentPathCanArrows === true) if (arr != undefined && arr != null && arr.length > 1 && this.IsCurrentPathCanArrows === true)
{ {
this.IsArrowsDrawing = true; this.IsArrowsDrawing = true;
// значит стрелки есть. теперь: // значит стрелки есть. теперь:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment