mirror of
https://github.com/jtdaugherty/brick.git
synced 2024-12-03 00:05:00 +03:00
whitespace
This commit is contained in:
parent
6a2bbf6bbf
commit
1489557418
@ -53,7 +53,10 @@ drawList l =
|
||||
let es = listElements l
|
||||
drawn = for (zip [0..] es) $ \(i, e) ->
|
||||
let isSelected = Just i == listSelected l
|
||||
in (SetSize (listSetElementSize i) $ listElementDraw l isSelected e, High)
|
||||
elemPrim = listElementDraw l isSelected e
|
||||
in ( SetSize (listSetElementSize i) elemPrim
|
||||
, High
|
||||
)
|
||||
in SetSize setSize $
|
||||
vScroll (listScroll l) $
|
||||
(VBox drawn <<= VPad ' ') <<+ HPad ' '
|
||||
|
Loading…
Reference in New Issue
Block a user