Continue mouse refactor, add explicit release event/timer
This commit is contained in:
@@ -22,6 +22,7 @@ defaultInput =
|
||||
, _textInput = mempty
|
||||
, _pressedKeys = mempty
|
||||
, _mouseButtons = mempty
|
||||
, _mouseButtonsReleased = mempty
|
||||
, _mousePos = V2 0 0
|
||||
, _mouseMoving = False
|
||||
, _scrollAmount = 0
|
||||
@@ -162,8 +163,8 @@ defaultDisplayInventory :: HUDElement
|
||||
defaultDisplayInventory =
|
||||
DisplayInventory
|
||||
{ _subInventory = NoSubInventory
|
||||
{_nsSelected = MouseInvNothing
|
||||
}
|
||||
-- {_nsSelected = MouseInvNothing
|
||||
-- }
|
||||
, _diSections = defaultInvSections
|
||||
, _diSelection = Just (1,0)
|
||||
, _diSelectionExtra = 0
|
||||
|
||||
Reference in New Issue
Block a user