Commit ed9ad629 authored by Alexander.Trofimov's avatar Alexander.Trofimov

add check exist setLineDash

parent 0b252869
......@@ -765,6 +765,9 @@
};
DrawingContext.prototype.setLineDash = function (segments) {
if (!this.ctx.setLineDash) {
return;
}
this.ctx.setLineDash(segments);
return this;
};
......
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