mirror of
https://github.com/konvajs/konva.git
synced 2026-01-23 05:14:58 +08:00
Fixed zero bounds children resulting in NaN group bounds.
This commit is contained in:
@@ -507,8 +507,7 @@ export abstract class Container<ChildType extends Node> extends Node<
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (hasVisible) {
|
||||
if (hasVisible && minX !== undefined) {
|
||||
selfRect = {
|
||||
x: minX,
|
||||
y: minY,
|
||||
|
||||
Reference in New Issue
Block a user