mirror of
https://github.com/mpv-player/mpv
synced 2024-12-29 02:22:19 +00:00
mac/remote: fix devision by 0
This commit is contained in:
parent
5ab3060961
commit
6d767537d4
@ -45,7 +45,7 @@ class RemoteCommandCenter: NSObject {
|
||||
var isPaused: Bool = false { didSet { updateInfoCenter() } }
|
||||
var duration: Double = 0 { didSet { updateInfoCenter() } }
|
||||
var position: Double = 0 { didSet { updateInfoCenter() } }
|
||||
var rate: Double = 0 { didSet { updateInfoCenter() } }
|
||||
var rate: Double = 1 { didSet { updateInfoCenter() } }
|
||||
var title: String = "" { didSet { updateInfoCenter() } }
|
||||
var chapter: String? { didSet { updateInfoCenter() } }
|
||||
var album: String? { didSet { updateInfoCenter() } }
|
||||
|
Loading…
Reference in New Issue
Block a user