mirror of
https://github.com/konvajs/konva.git
synced 2026-01-23 21:34:50 +08:00
fix fillPattern cache
This commit is contained in:
@@ -1860,6 +1860,12 @@ describe('Shape', function () {
|
||||
|
||||
assert.notEqual(pattern4, pattern3);
|
||||
|
||||
star.fillPatternOffsetX(10);
|
||||
|
||||
var pattern5 = star._getFillPattern();
|
||||
|
||||
assert.notEqual(pattern4, pattern5);
|
||||
|
||||
done();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user