Skip to content

Commit

Permalink
Don't show lines in blocks mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
amyjko committed Jul 11, 2024
1 parent f35c079 commit c221977
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/editor/NodeView.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@
<!-- Render space preceding this node, if any, then either a value view if stepping or the node. -->
{#if !hide && firstToken && spaceRoot === node}<Space
token={firstToken}
first={$spaces.isFirst(firstToken)}
line={$spaces.getLineNumber(firstToken)}
first={$blocks ? undefined : $spaces.isFirst(firstToken)}
line={$blocks ? undefined : $spaces.getLineNumber(firstToken)}
{space}
insertion={$insertion?.token === firstToken
? $insertion
Expand Down

0 comments on commit c221977

Please sign in to comment.