-
Notifications
You must be signed in to change notification settings - Fork 334
New issue
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
Fixed: underscores missing when accessing CPColor's components ivar #2377
Fixed: underscores missing when accessing CPColor's components ivar #2377
Conversation
Milestone: Someday. Label: #new. What's next? A reviewer should examine this issue. |
Danke. You tested it? |
no. maybe michael can test it in his app? @michael: best greetings,
|
Milestone: 0.9.9. Labels: #ready-to-commit, AppKit, bug. What's next? The changes for this issue are ready to be committed by a member of the core team. |
More informations here : https://groups.google.com/forum/?fromgroups=#!topic/objectivej/DbHN1ffcjO0 The manual test CPGradientTest looks good with the current version ! This fix will work when using CPColor's array instead of using the method |
Milestone: 0.9.9. Labels: #needs-confirmation, AppKit, bug. What's next? This issue needs a volunteer to independently reproduce the issue. |
Assignee: Dogild. Milestone: 0.9.9. Labels: #needs-confirmation, AppKit, bug. What's next? This issue needs a volunteer to independently reproduce the issue. |
According to the Cocoa doc (https://developer.apple.com/library/mac/documentation/GraphicsImaging/Reference/CGGradient/#//apple_ref/c/func/CGGradientCreateWithColors), when using the gradient color you need to pass CGColor and not CPColor. Everything looks good in the framework right now (manual test in CPGradientTest) |
Assignee: Dogild. Milestone: 0.9.9. Labels: #needs-confirmation, #works-for-me, AppKit, bug. What's next? Attempts to reproduce the problem described by this issue have failed to reveal any erroneous situation. |
previously, the ivar was erroneously accessed by the property name using dot syntax.
this is corrected by adding the underscore appropriately.
credits: https://groups.google.com/forum/?fromgroups#!topic/objectivej/DbHN1ffcjO0