Mapper, ARHUD, radar sweeps update. Add dropper items
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
module Dodge.ScrollValue where
|
||||
module Dodge.ScrollValue (updateScrollTestValue) where
|
||||
|
||||
import Dodge.Data.Input
|
||||
import LensHelp
|
||||
|
||||
updateScrollTestValue :: Input -> Input
|
||||
updateScrollTestValue theinput = theinput & scrollTestFloat +~ theamount
|
||||
& scrollTestInt +~ i
|
||||
updateScrollTestValue theinput =
|
||||
theinput & scrollTestFloat +~ theamount
|
||||
& scrollTestInt +~ i
|
||||
where
|
||||
i = theinput ^. scrollAmount
|
||||
theamount = fromIntegral i / 100
|
||||
|
||||
Reference in New Issue
Block a user