mirror of
https://github.com/ivanvorobei/SwiftUI.git
synced 2026-04-24 01:28:43 +02:00
Minimum changes for Xcode 11 beta 5
This commit is contained in:
@@ -9,7 +9,7 @@ struct TimeTravelBarView : View {
|
||||
getValue: { Double(self.store.currentStateIndex) },
|
||||
setValue: { self.store.currentStateIndex = Int($0) })
|
||||
|
||||
return Slider(value: indexBinding, from: 0, through: Double(store.stateCount-1))
|
||||
return Slider(value: indexBinding, in: 0...Double(store.stateCount-1))
|
||||
.background(Color.white)
|
||||
.frame(height: 44.0, alignment: .bottom)
|
||||
.padding()
|
||||
|
||||
Reference in New Issue
Block a user