Cleanup
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
module Dodge.SelectionList (
|
||||
getShownItems,
|
||||
getAvailableListLines,
|
||||
) where
|
||||
|
||||
@@ -17,8 +16,3 @@ getAvailableListLines ldps cfig = floor ((dToBot - vgap) / itmHeight)
|
||||
dToBot =
|
||||
winy / 2 + winy * (ldps ^. ldpPos . spScreenOff . _y)
|
||||
+ (ldps ^. ldpPos . spPixelOff . _y)
|
||||
|
||||
getShownItems :: SelectionList a -> [SelectionItem a]
|
||||
getShownItems sl = case sl ^. slRegexList of
|
||||
[] -> sl ^. slItems
|
||||
xs -> fmap fst xs
|
||||
|
||||
Reference in New Issue
Block a user