Skip to content

Commit

Permalink
add scrollbar to scenario menu (#1770)
Browse files Browse the repository at this point in the history
  • Loading branch information
kostmo authored Feb 19, 2024
1 parent 95a9014 commit 7c991f7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Swarm/TUI/View.hs
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,9 @@ drawNewGameMenuUI (l :| ls) launchOptions = case displayedFor of
, txt " "
, vLimit 20
. hLimit 35
. withLeftPaddedVScrollBars
. padLeft (Pad 1)
. padTop (Pad 1)
. BL.renderList (const $ padRight Max . drawScenarioItem) True
$ l
]
Expand Down

0 comments on commit 7c991f7

Please sign in to comment.