1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-14 22:30:32 +05:30

Minor controls overlay changes

This commit is contained in:
Arkadiusz Fal 2022-08-06 16:22:41 +02:00
parent 28d3f29571
commit 57dd9cfe69

View File

@ -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)