mirror of
https://github.com/konvajs/konva.git
synced 2026-01-18 19:51:21 +08:00
fixed up context clip method
This commit is contained in:
@@ -216,8 +216,7 @@
|
|||||||
this._context.clearRect(a[0], a[1], a[2], a[3]);
|
this._context.clearRect(a[0], a[1], a[2], a[3]);
|
||||||
},
|
},
|
||||||
clip: function() {
|
clip: function() {
|
||||||
var a = arguments;
|
this._context.clip();
|
||||||
this._context.clip(a[0], a[1], a[2], a[3]);
|
|
||||||
},
|
},
|
||||||
closePath: function() {
|
closePath: function() {
|
||||||
this._context.closePath();
|
this._context.closePath();
|
||||||
|
|||||||
Reference in New Issue
Block a user