Skip to content

Commit 8a0546a

Browse files
CZX123guest1@CHENYIXUN
authored andcommitted
CSE Machine: Remove old components and make compact components the default (#2848)
* Make compact components the new default and remove any mentions to the old components. Also removes the experimental button toggle. * Update test snapshots * Clean up testing code a little * Formatting changes * Fix some minor issues
1 parent 9758022 commit 8a0546a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/features/cseMachine/components/values/GlobalFnValue.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ export class GlobalFnValue extends Value implements IHoverable {
190190
/>
191191
</KonvaLabel>
192192
)}
193-
{this._arrow?.draw()}
193+
{Layout.globalEnvNode.frame && new ArrowFromFn(this).to(Layout.globalEnvNode.frame).draw()}
194194
</React.Fragment>
195195
);
196196
}

0 commit comments

Comments
 (0)