Handle menu selection with mouse context, remove wheel scroll control
This commit is contained in:
@@ -14,6 +14,7 @@ module Dodge.Render.List (
|
||||
listCursorChooseBorderScale,
|
||||
selSecDrawCursorAt,
|
||||
drawTitleBackground, -- should be renamed, made sensible
|
||||
drawCursorAt,
|
||||
) where
|
||||
|
||||
import Dodge.ListDisplayParams
|
||||
@@ -38,11 +39,11 @@ drawSelectionList ldps cfig sl =
|
||||
(ldps ^. ldpScale)
|
||||
0
|
||||
(makeSelectionListPictures sl)
|
||||
<> drawCursorAt
|
||||
(sl ^. slSelPos)
|
||||
(sl ^. slItems)
|
||||
ldps
|
||||
(BoundaryCursor [North, South])
|
||||
-- <> drawCursorAt
|
||||
-- (sl ^. slSelPos)
|
||||
-- (sl ^. slItems)
|
||||
-- ldps
|
||||
-- (BoundaryCursor [North, South])
|
||||
|
||||
drawTitleBackground :: Configuration -> Picture
|
||||
drawTitleBackground cfig =
|
||||
|
||||
Reference in New Issue
Block a user