Closed Aarebecca closed 1 year ago
之前问题:
抽屉里的模式匹配销毁后(切换到其他组件),会设置画布为 previousSize,但 previousSize 初始值为 500*500,并没有更新为画布实际的尺寸。
https://github.com/antvis/G6VP/blob/4324266bab3c7db13e28fe3aeb788611c8b4e4cd/packages/gi-assets-algorithm/src/PatternMatch/Component.tsx#L531-L541
https://github.com/antvis/G6VP/assets/25787943/d6817c5b-a242-4aea-9dad-13407f8a057c
之前问题:
抽屉里的模式匹配销毁后(切换到其他组件),会设置画布为 previousSize,但 previousSize 初始值为 500*500,并没有更新为画布实际的尺寸。
https://github.com/antvis/G6VP/blob/4324266bab3c7db13e28fe3aeb788611c8b4e4cd/packages/gi-assets-algorithm/src/PatternMatch/Component.tsx#L531-L541
https://github.com/antvis/G6VP/assets/25787943/d6817c5b-a242-4aea-9dad-13407f8a057c