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
Attachment: Download
2018 13" macbook pro, OSX Mojave 10.14.3 (18D42)
Xcode Version 10.1 (10B61)
md5: bc7fb19603f6a839c3e7f241cf714cb9
Issue Description:
With a simple playground showing a radial gradient, playgrounds doesn't display the correct gradient (see attached screenshot)
import UIKit import PlaygroundSupport let colors: [UIColor] = [.blue, .orange] let view = UIView(frame: CGRect(origin: .zero, size: CGSize(width: 300, height: 300))) view.backgroundColor = .white let gradientLayer = CAGradientLayer() gradientLayer.frame = view.bounds gradientLayer.colors = colors.map { $0.cgColor } gradientLayer.type = .radial view.layer.addSublayer(gradientLayer) // Present the view controller in the Live View window PlaygroundPage.current.liveView = view
Expected:
The live view will show the correct gradient
Actual: A weird visual artifact (correct colours but not the gradient)
The text was updated successfully, but these errors were encountered:
cc cwakamo (JIRA User)
Sorry, something went wrong.
Comment by Kerr Marin Miller (JIRA)
I can still reproduce this with Xcode 13.3
No branches or pull requests
Attachment: Download
Environment
2018 13" macbook pro, OSX Mojave 10.14.3 (18D42)
Xcode Version 10.1 (10B61)
Additional Detail from JIRA
md5: bc7fb19603f6a839c3e7f241cf714cb9
Issue Description:
With a simple playground showing a radial gradient, playgrounds doesn't display the correct gradient (see attached screenshot)
Expected:
The live view will show the correct gradient
Actual:
A weird visual artifact (correct colours but not the gradient)
The text was updated successfully, but these errors were encountered: