fix: sometimes entering default state would not highlight initial state marker
This commit is contained in:
parent
22fbe70a60
commit
373e26dc1b
5 changed files with 44 additions and 28 deletions
|
|
@ -786,7 +786,7 @@ export function VisualEditor({ast, setAST, rt, errors, setErrors, mode, highligh
|
|||
highlight={arrowsToHighlight.hasOwnProperty(arrow.uid)}
|
||||
fired={highlightTransitions.includes(arrow.uid)}
|
||||
arc={arc}
|
||||
initialMarker={initialMarker}
|
||||
initialMarker={Boolean(initialMarker)}
|
||||
/>;
|
||||
}
|
||||
)}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue