mirror of
https://github.com/konvajs/konva.git
synced 2026-03-03 16:58:33 +08:00
caching system now relies on attr change events to clear the appropriate cache attrs
This commit is contained in:
@@ -436,11 +436,9 @@
|
||||
|
||||
if(stroke || strokeWidth) {
|
||||
this._applyLineCap(shape);
|
||||
context.save();
|
||||
context.lineWidth = strokeWidth || 2;
|
||||
context.strokeStyle = shape.colorKey;
|
||||
shape._strokeFuncHit(context);
|
||||
context.restore();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user