Minor controls overlay changes

This commit is contained in:
Arkadiusz Fal 2022-08-06 16:22:41 +02:00
parent 5f5bd37bd4
commit 0797030a97

View File

@ -41,6 +41,8 @@ struct ControlsOverlay: View {
private var backendButtons: some View {
ForEach(PlayerBackendType.allCases, id: \.self) { backend in
backendButton(backend)
.modifier(ControlBackgroundModifier())
.clipShape(RoundedRectangle(cornerRadius: 4))
}
}
@ -67,6 +69,7 @@ struct ControlsOverlay: View {
}
} label: {
Label("Increase rate", systemImage: "plus")
.foregroundColor(.primary)
.labelStyle(.iconOnly)
.padding(8)
.frame(height: 30)
@ -90,6 +93,7 @@ struct ControlsOverlay: View {
}
} label: {
Label("Decrease rate", systemImage: "minus")
.foregroundColor(.primary)
.labelStyle(.iconOnly)
.padding(8)
.frame(height: 30)