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
Hi,
I've got this code:
VStack { Text("Active Window Border") ColorPickerRing(color: $activeWindowBorderColor, strokeWidth: 30) .frame(width: 100, height: 100, alignment: .center) HStack { Button("Cancel") { // somehow reset color self.colorPicker = false } Button("OK") { self.colorPicker = false } RoundedRectangle(cornerRadius: 5.0) .fill(activeWindowBorderColor) } }.frame(width: 350, height: 350, alignment: .center)
That throws: Instance method 'fill(_:style:)' requires that 'DynamicColor' (aka 'NSColor') conform to 'ShapeStyle'
But when I user Color.white it works.
Can anybody explain that thing with ShapeStyle?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I've got this code:
That throws: Instance method 'fill(_:style:)' requires that 'DynamicColor' (aka 'NSColor') conform to 'ShapeStyle'
But when I user Color.white it works.
Can anybody explain that thing with ShapeStyle?
The text was updated successfully, but these errors were encountered: