1
0
mirror of https://github.com/yattee/yattee.git synced 2024-12-15 06:40: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 {
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)