Continue tweaking sound
This commit is contained in:
@@ -215,7 +215,7 @@ defaultButton = Button
|
||||
, _btEvent = \b w ->
|
||||
set (buttons . ix (_btID b) . btPict) (onLayer WlLayer $ color red $ polygon $ rectNSEW (-4) (-5) 10 (-10))
|
||||
. set (buttons . ix (_btID b) . btState) BtNoLabel
|
||||
. soundFrom (LeverSound 0) (_btPos b) click1S Nothing $ w
|
||||
. soundStart (LeverSound 0) (_btPos b) click1S Nothing $ w
|
||||
, _btID = 0
|
||||
, _btText = "Button"
|
||||
, _btState = BtOff
|
||||
|
||||
Reference in New Issue
Block a user