mirror of
https://github.com/konvajs/konva.git
synced 2025-06-28 08:48:57 +08:00
layer clear bounds should be optional
This commit is contained in:
parent
f6a38edce7
commit
e44f6df531
@ -181,7 +181,7 @@ export class Layer extends BaseLayer {
|
||||
Container.prototype.drawHit.call(this, canvas, top);
|
||||
return this;
|
||||
}
|
||||
clear(bounds) {
|
||||
clear(bounds?) {
|
||||
BaseLayer.prototype.clear.call(this, bounds);
|
||||
this.getHitCanvas()
|
||||
.getContext()
|
||||
|
Loading…
Reference in New Issue
Block a user