We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3065078 commit b3c57ceCopy full SHA for b3c57ce
2 files changed
packages/core/src/LogicFlow.tsx
@@ -1445,7 +1445,6 @@ export class LogicFlow {
1445
this.graphModel.destroy()
1446
this.tool.destroy()
1447
this.history.destroy()
1448
- clearThemeMode()
1449
for (const extensionName in this.extension) {
1450
const extensionInstance = this.extension[extensionName]
1451
if ('destroy' in extensionInstance) {
packages/core/src/view/overlay/OutlineOverlay.tsx
@@ -31,7 +31,7 @@ export class OutlineOverlay extends Component<IProps> {
31
(nodeSelectedOutline && isSelected) ||
32
(hoverOutline && isHovered)
33
) {
34
- const style = element.getOutlineStyle()
+ const style = element.getOutlineStyle() || {}
35
let attributes = {}
36
Object.keys(style).forEach((key) => {
37
if (key !== 'hover') {
0 commit comments