mirror of
https://github.com/konvajs/konva.git
synced 2025-09-23 04:36:47 +08:00
add FastLayer deprecate
This commit is contained in:
@@ -20,6 +20,9 @@ export class FastLayer extends Layer {
|
||||
constructor(attrs) {
|
||||
super(attrs);
|
||||
this.listening(false);
|
||||
Util.warn(
|
||||
'Konva.Fast layer is deprecated. Please use "new Konva.Layer({ listening: false })" instead.'
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user