Implement generalised storing of position for mouse presses
This commit is contained in:
@@ -13,8 +13,7 @@ import System.Random
|
||||
defaultInput :: Input
|
||||
defaultInput =
|
||||
Input
|
||||
{ _clickMousePos = V2 0 0
|
||||
, _clickPos = mempty
|
||||
{ _clickPos = mempty
|
||||
, _heldPos = mempty
|
||||
, _textInput = mempty
|
||||
, _pressedKeys = mempty
|
||||
@@ -22,7 +21,6 @@ defaultInput =
|
||||
, _mousePos = V2 0 0
|
||||
, _mouseMoving = False
|
||||
, _scrollAmount = 0
|
||||
, _previousScrollAmount = 0
|
||||
, _smoothScrollAmount = 0
|
||||
, _lrLine = (0, 0)
|
||||
, _lLine = (0, 0)
|
||||
|
||||
Reference in New Issue
Block a user