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