Simplify selection menu, remove overlapping
This commit is contained in:
@@ -99,7 +99,6 @@ drawExamineInventory cfig mtweaki w =
|
||||
, _siIsSelectable = True
|
||||
, _siColor = white
|
||||
, _siOffX = 0
|
||||
, _siOffY = 0
|
||||
, _siPayload = ()
|
||||
}
|
||||
|
||||
@@ -215,7 +214,7 @@ displayTerminal tid cfig w = fromMaybe mempty $ do
|
||||
invHead cfig (_tmTitle tm ++ ":T" ++ show tid)
|
||||
<> drawSelectionList secondColumnParams cfig (thesellist tm)
|
||||
where
|
||||
toselitm (str, col) = SelectionItem [str] 1 True col 0 0 ()
|
||||
toselitm (str, col) = SelectionItem [str] 1 True col 0 ()
|
||||
thesellist tm = defaultSelectionList & slItems .~ thelist tm
|
||||
thelist tm =
|
||||
map toselitm . displayTermInput tm
|
||||
@@ -334,7 +333,6 @@ picsToSelectable pics =
|
||||
, _siIsSelectable = True
|
||||
, _siColor = white
|
||||
, _siOffX = 0
|
||||
, _siOffY = 0
|
||||
, _siPayload = ()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user