mirror of
https://github.com/konvajs/konva.git
synced 2025-09-18 18:27:58 +08:00
added line dash support for firefox and safari
This commit is contained in:
@@ -297,6 +297,12 @@
|
|||||||
if(context.setLineDash) {
|
if(context.setLineDash) {
|
||||||
context.setLineDash(dashArray);
|
context.setLineDash(dashArray);
|
||||||
}
|
}
|
||||||
|
else if('mozDash' in context) {
|
||||||
|
context.mozDash = dashArray;
|
||||||
|
}
|
||||||
|
else if('webkitLineDash' in context) {
|
||||||
|
context.webkitLineDash = dashArray;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(!skipShadow && shape.hasShadow()) {
|
if(!skipShadow && shape.hasShadow()) {
|
||||||
this._applyShadow(shape);
|
this._applyShadow(shape);
|
||||||
|
Reference in New Issue
Block a user