Replace length . _siPictures with _siHeight
This commit is contained in:
@@ -178,7 +178,7 @@ ssLookupGE' i sss = do
|
||||
Nothing -> ssLookupGT' i' sss
|
||||
|
||||
selSecSelSize :: Int -> Int -> IM.IntMap (SelectionSection a) -> Maybe Int
|
||||
selSecSelSize i j = fmap length . (^? ix i . ssItems . ix j . siPictures)
|
||||
selSecSelSize i j = (^? ix i . ssItems . ix j . siHeight)
|
||||
|
||||
-- need to check that the vertical gap is correctly put in here
|
||||
posSelSecYint :: Configuration -> ListDisplayParams -> Float -> Int
|
||||
|
||||
Reference in New Issue
Block a user