Simplify menu screens (no choice of display parameters)
This commit is contained in:
@@ -84,8 +84,5 @@ ldpVerticalSelection cfig ldp (V2 _ y)
|
||||
ylower = ceiling ((top - y) / yoff) - 1
|
||||
|
||||
setSelectionListRestriction :: Configuration -> ScreenLayer -> ScreenLayer
|
||||
setSelectionListRestriction cfig screen =
|
||||
screen & scAvailableLines %~ const (getAvailableListLines optionListDisplayParams cfig)
|
||||
-- fromMaybe screen $ do
|
||||
-- ldps <- screen ^? scListDisplayParams
|
||||
-- return $ screen & scAvailableLines %~ const (getAvailableListLines ldps cfig)
|
||||
setSelectionListRestriction cfig =
|
||||
scAvailableLines %~ const (getAvailableListLines optionListDisplayParams cfig)
|
||||
|
||||
Reference in New Issue
Block a user