mirror of
https://github.com/konvajs/konva.git
synced 2025-06-28 15:23:44 +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);
|
Container.prototype.drawHit.call(this, canvas, top);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
clear(bounds) {
|
clear(bounds?) {
|
||||||
BaseLayer.prototype.clear.call(this, bounds);
|
BaseLayer.prototype.clear.call(this, bounds);
|
||||||
this.getHitCanvas()
|
this.getHitCanvas()
|
||||||
.getContext()
|
.getContext()
|
||||||
|
Loading…
Reference in New Issue
Block a user