Skip to content

chore(linear-gradient): fix equality comparer - #1

Merged
vultix merged 2 commits into
vultix:css-gradientsfrom
ADjenkov:linear-gradients
Apr 25, 2018
Merged

vultix merged 2 commits into
vultix:css-gradientsfrom
ADjenkov:linear-gradients

Conversation

@ADjenkov

@ADjenkov ADjenkov commented Apr 25, 2018 •

Copy link
Copy Markdown

@vultix I think equality comparer should return false when angle or colorStops are different otherwise it fails to apply new gradient with different position (to left, to right e.g.).

Add linear gradient test app with dynamically changing backgroundImage property

P.S: Great feature!

@ADjenkov ADjenkov mentioned this pull request Apr 25, 2018
5 tasks done
@vultix
vultix merged commit c0f7447 into vultix:css-gradients Apr 25, 2018
@vultix

vultix commented Apr 25, 2018

Copy link
Copy Markdown
Owner

@ADjenkov Great catch with the equality comparer! Thanks for the help!

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.

2 participants