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

Adjust aligned gradient stop colors relative to how much they were clamped #1034

Merged
merged 1 commit into from
Mar 30, 2017
Merged

Adjust aligned gradient stop colors relative to how much they were clamped #1034

merged 1 commit into from
Mar 30, 2017

Conversation

eqrion
Copy link
Contributor

@eqrion eqrion commented Mar 30, 2017

Previously we were adjusting the colors relative to the entire rect.
Then we adjusted the colors relative to the segment rect.
We should be adjusting the colors relative to how much they were clamped.

Fixes #1030


This change is Reviewable

…amped

Previously we were adjusting the colors relative to the entire rect.
Then we adjusted the colors relative to the segment rect.
We should be adjusting the colors relative to how much they were clamped.

Fixes #1030
@kvark
Copy link
Member

kvark commented Mar 30, 2017

Thanks, looks good!
@bors-servo r+

@bors-servo
Copy link
Contributor

📌 Commit b709b90 has been approved by kvark

@bors-servo
Copy link
Contributor

⌛ Testing commit b709b90 with merge 1b9b265...

bors-servo pushed a commit that referenced this pull request Mar 30, 2017
Adjust aligned gradient stop colors relative to how much they were clamped

Previously we were adjusting the colors relative to the entire rect.
Then we adjusted the colors relative to the segment rect.
We should be adjusting the colors relative to how much they were clamped.

Fixes #1030

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/webrender/1034)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

☀️ Test successful - status-travis
Approved by: kvark
Pushing 1b9b265 to master...

@bors-servo bors-servo merged commit b709b90 into servo:master Mar 30, 2017
@eqrion eqrion deleted the aligned-clip branch April 6, 2017 21:37
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