mirror of
https://github.com/konvajs/konva.git
synced 2026-01-24 05:45:14 +08:00
return default empty array
This commit is contained in:
@@ -354,7 +354,7 @@ export class Transformer extends Group {
|
||||
}
|
||||
|
||||
getNodes() {
|
||||
return this._nodes;
|
||||
return this._nodes || [];
|
||||
}
|
||||
/**
|
||||
* return the name of current active anchor
|
||||
|
||||
Reference in New Issue
Block a user