mirror of
https://github.com/yattee/yattee.git
synced 2025-08-05 02:04:07 +00:00
Controls updates fixes
This commit is contained in:
@@ -23,9 +23,9 @@ struct TimelineView: View {
|
||||
@State private var size = CGSize.zero
|
||||
@State private var tooltipSize = CGSize.zero
|
||||
@State private var dragging = false { didSet {
|
||||
if dragging {
|
||||
if dragging, player.backend.controlsUpdates {
|
||||
player.backend.stopControlsUpdates()
|
||||
} else {
|
||||
} else if !dragging, !player.backend.controlsUpdates {
|
||||
player.backend.startControlsUpdates()
|
||||
}
|
||||
}}
|
||||
|
Reference in New Issue
Block a user