mirror of
https://github.com/konvajs/konva.git
synced 2025-04-05 20:48:28 +08:00
return default empty array
This commit is contained in:
parent
48941dbb0b
commit
746a0fb94e
@ -354,7 +354,7 @@ export class Transformer extends Group {
|
||||
}
|
||||
|
||||
getNodes() {
|
||||
return this._nodes;
|
||||
return this._nodes || [];
|
||||
}
|
||||
/**
|
||||
* return the name of current active anchor
|
||||
|
Loading…
Reference in New Issue
Block a user