Skip to content

Commit 4c9dab3

Browse files
committed
Enqueue docs for flexSelect when under a group
1 parent cc781eb commit 4c9dab3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Dodo.purs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,12 +397,12 @@ print (Printer printer) opts = flip go initState <<< pure <<< Doc
397397
{ flexGroup = FlexGroupPending
398398
}
399399
FlexGroupPending | state.position.ribbonWidth > 0 ->
400-
go (Doc doc1 : stk) state
400+
go (Doc doc1 : Doc doc2 : stk) state
401401
{ flexGroup = FlexGroupReset $ storeState stack state
402402
, buffer = Buffer.branch state.buffer
403403
}
404404
_ ->
405-
go (Doc doc1 : stk) state
405+
go (Doc doc1 : Doc doc2 : stk) state
406406
FlexAlt flexDoc doc1 -> case state.flexGroup of
407407
FlexGroupReset _ ->
408408
go (Doc flexDoc : stk) state

0 commit comments

Comments
 (0)