We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Description of the problem: Using .accentColor(.red) modifier on the MultiValueSlider still shows a system blue track
Minimal project that reproduces the problem (so I'll be able to figure out how to fix it): import SwiftUI import MultiSlider
struct SliderView: View { @ObservedObject var viewModel: SliderViewModel
var body: some View { MultiValueSlider( value: $viewModel.valueBounds, minimumValue: CGFloat(viewModel.range.lowerBound), maximumValue: CGFloat(viewModel.range.upperBound), snapStepSize: CGFloat(viewModel.stepSize), valueLabelPosition: .top, orientation: .horizontal, outerTrackColor: .gray, valueLabelColor: .blue, showsThumbImageShadow: true, trackWidth: 4.0, hasRoundTrackEnds: true, keepsDistanceBetweenThumbs: true ) .accentColor(.red) .padding(.top, 8) }
}
The text was updated successfully, but these errors were encountered:
cbfc7d8
Thanks for reporting, fixed in 1.13.2.
Sorry, something went wrong.
Thanks!
yonat
No branches or pull requests
Description of the problem:
Using .accentColor(.red) modifier on the MultiValueSlider still shows a system blue track
Minimal project that reproduces the problem (so I'll be able to figure out how to fix it):
import SwiftUI
import MultiSlider
struct SliderView: View {
@ObservedObject var viewModel: SliderViewModel
}
The text was updated successfully, but these errors were encountered: