Move selection list offset into option screen data structure
This commit is contained in:
@@ -10,7 +10,6 @@ import Dodge.Data.CardinalPoint
|
||||
data SelectionList = SelectionList
|
||||
{ _slPosX :: Float
|
||||
, _slPosY :: Float
|
||||
, _slOffset :: Int
|
||||
, _slScale :: Float
|
||||
, _slVerticalGap :: Float
|
||||
, _slItems :: [SelectionItem]
|
||||
|
||||
@@ -52,6 +52,7 @@ data ScreenLayer
|
||||
= OptionScreen
|
||||
{ _scTitle :: String
|
||||
, _scOptions :: [MenuOption]
|
||||
, _scOffset :: Int
|
||||
, _scMaybeOption :: Maybe MenuOption
|
||||
, _scOptionFlag :: OptionScreenFlag
|
||||
, _scSelectionList :: SelectionList
|
||||
|
||||
Reference in New Issue
Block a user