Skip to content

Instantly share code, notes, and snippets.

@colonelrascals
Created August 28, 2018 21:42
Show Gist options
  • Save colonelrascals/c9551b57061998c9192e16eb7367565c to your computer and use it in GitHub Desktop.
Save colonelrascals/c9551b57061998c9192e16eb7367565c to your computer and use it in GitHub Desktop.
(defn- click-vol-down
[evt]
(let [new-vol (- evt 1)]
(swap! *app-state assoc :volume new-vol)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment