Skip to content

Commit

Permalink
Updated for beta 6
Browse files Browse the repository at this point in the history
  • Loading branch information
anandabits committed Aug 21, 2019
1 parent a1698d4 commit dfcbb53
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Processing/Animations/CircleOfDots.swift
Expand Up @@ -60,8 +60,8 @@ struct CircleOfDots: ProcessingView {
label: Text("pulse rate"),
control: { Slider(
value: $0,
in: 120...15,
step: -1,
in: 15...120,
step: 1,
label: { Text("pulse rate") }
)}
)
Expand Down
2 changes: 1 addition & 1 deletion Processing/Animations/SpreadView.swift
Expand Up @@ -32,7 +32,7 @@ struct SpreadView: ProcessingView {
GeometryReader { proxy in
ZStack {
Color.black
ForEach(0..<Int(proxy.localSize.width.rounded())) { i in
ForEach(0..<Int(proxy.localSize.width.rounded()), id: \.self) { i in
self.column(at: i, size: proxy.localSize)
}
}
Expand Down
2 changes: 1 addition & 1 deletion Processing/Utiilty/Inspectable.swift
Expand Up @@ -20,7 +20,7 @@ final class Inspectable<Value>: AnyInspectable where Value: _FormatSpecifiable {
self._makeControl = { binding in
AnyView(HStack {
control(binding)
Text("\(binding.value)")
Text("\(binding.wrappedValue)")
}
)}
self.wrappedValue = initialValue
Expand Down

0 comments on commit dfcbb53

Please sign in to comment.