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

Make coordinate_system_relative_transform an offset. #2944

Merged
merged 1 commit into from Aug 1, 2018

Conversation

@gw3583
Copy link
Collaborator

gw3583 commented Aug 1, 2018

coordinate_system_relative_transform can only ever be a 2d
offset, so use the type system to enforce this.


This change is Reviewable

coordinate_system_relative_transform can only ever be a 2d
offset, so use the type system to enforce this.
@gw3583
Copy link
Collaborator Author

gw3583 commented Aug 1, 2018

This simplifies some of the clipping changes I'm working on.

r? @kvark
cc @mrobinson

Copy link
Member

mrobinson left a comment

LGTM! Feel free to wait for a review from @kvark though.

@kvark
Copy link
Member

kvark commented Aug 1, 2018

Good stuff! Reminds me of #2869 :)
@bors-servo r=mrobinson,kvark

@bors-servo
Copy link
Contributor

bors-servo commented Aug 1, 2018

📌 Commit 41425a8 has been approved by mrobinson,kvark

@bors-servo
Copy link
Contributor

bors-servo commented Aug 1, 2018

Testing commit 41425a8 with merge 7452c43...

bors-servo added a commit that referenced this pull request Aug 1, 2018
Make coordinate_system_relative_transform an offset.

coordinate_system_relative_transform can only ever be a 2d
offset, so use the type system to enforce this.

<!-- 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/2944)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Aug 1, 2018

☀️ Test successful - status-appveyor, status-taskcluster
Approved by: mrobinson,kvark
Pushing 7452c43 to master...

@bors-servo bors-servo merged commit 41425a8 into servo:master Aug 1, 2018
3 checks passed
3 checks passed
Taskcluster (pull_request) TaskGroup: success
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
homu Test successful
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.