mirror of
https://github.com/yattee/yattee.git
synced 2024-12-22 21:43:41 +00:00
Minor controls overlay changes
This commit is contained in:
parent
5f5bd37bd4
commit
0797030a97
@ -41,6 +41,8 @@ struct ControlsOverlay: View {
|
|||||||
private var backendButtons: some View {
|
private var backendButtons: some View {
|
||||||
ForEach(PlayerBackendType.allCases, id: \.self) { backend in
|
ForEach(PlayerBackendType.allCases, id: \.self) { backend in
|
||||||
backendButton(backend)
|
backendButton(backend)
|
||||||
|
.modifier(ControlBackgroundModifier())
|
||||||
|
.clipShape(RoundedRectangle(cornerRadius: 4))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -67,6 +69,7 @@ struct ControlsOverlay: View {
|
|||||||
}
|
}
|
||||||
} label: {
|
} label: {
|
||||||
Label("Increase rate", systemImage: "plus")
|
Label("Increase rate", systemImage: "plus")
|
||||||
|
.foregroundColor(.primary)
|
||||||
.labelStyle(.iconOnly)
|
.labelStyle(.iconOnly)
|
||||||
.padding(8)
|
.padding(8)
|
||||||
.frame(height: 30)
|
.frame(height: 30)
|
||||||
@ -90,6 +93,7 @@ struct ControlsOverlay: View {
|
|||||||
}
|
}
|
||||||
} label: {
|
} label: {
|
||||||
Label("Decrease rate", systemImage: "minus")
|
Label("Decrease rate", systemImage: "minus")
|
||||||
|
.foregroundColor(.primary)
|
||||||
.labelStyle(.iconOnly)
|
.labelStyle(.iconOnly)
|
||||||
.padding(8)
|
.padding(8)
|
||||||
.frame(height: 30)
|
.frame(height: 30)
|
||||||
|
Loading…
Reference in New Issue
Block a user