Skip to content
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

Fix #388: Filling for group with currentColor property #576

Merged
merged 6 commits into from
May 22, 2019

Conversation

mnndnl
Copy link
Contributor

@mnndnl mnndnl commented May 20, 2019

No description provided.

self.availableStyleAttributes.forEach { availableAttribute in
if let styleAttribute = element.allAttributes[availableAttribute]?.text, styleAttribute != "inherit" {
styleAttributes.updateValue(styleAttribute, forKey: availableAttribute)

if !hasCurrentColor || availableAttribute != "color" {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe we should move keys into Constants struct or enum (also maybe private)

Daniil Manin added 3 commits May 22, 2019 16:22
@ystrot ystrot self-assigned this May 22, 2019
@ystrot ystrot added this to the 0.9.6 milestone May 22, 2019
@ystrot ystrot merged commit 4c91b10 into master May 22, 2019
@mnndnl mnndnl deleted the fix/388-SVG-test-color-prop-05-t-manual branch May 24, 2019 11:47
@ystrot ystrot modified the milestones: 0.9.6, 0.9.7 Apr 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants