1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-12-29 13:29:46 +00:00

Increases volume fade-out speed.

This commit is contained in:
Thomas Harte 2020-03-22 21:13:55 -04:00
parent 38d81c394f
commit bd1b4b8a9f

View File

@ -760,7 +760,7 @@ class MachineDocument:
let fadeAnimation = CABasicAnimation(keyPath: "opacity")
fadeAnimation.fromValue = 1.0
fadeAnimation.toValue = 0.0
fadeAnimation.duration = 0.5
fadeAnimation.duration = 0.2
animationFader = ViewFader(view: volumeView)
fadeAnimation.delegate = animationFader
volumeView.layer?.add(fadeAnimation, forKey: "opacity")