mirror of
https://github.com/konvajs/konva.git
synced 2025-10-15 04:14:52 +08:00
Merge pull request #978 from alireza-bonab/transformer_getnodes_default_value
Default value for transformer getNodes()
This commit is contained in:
@@ -354,7 +354,7 @@ export class Transformer extends Group {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getNodes() {
|
getNodes() {
|
||||||
return this._nodes;
|
return this._nodes || [];
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
* return the name of current active anchor
|
* return the name of current active anchor
|
||||||
|
Reference in New Issue
Block a user