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

Rename ScaleFactor into TypedScale. #242

Merged
merged 1 commit into from Dec 7, 2017
Merged

Rename ScaleFactor into TypedScale. #242

merged 1 commit into from Dec 7, 2017

Conversation

@nical
Copy link
Collaborator

nical commented Dec 7, 2017

@SimonSapin is about to do a breaking change in euclid (and corresponding bumps in the servo ecosystem), so I'd like to sneak in a few breaking changes that I hadn't bothered to do because bumping euclid is tiresome.

This one might not actually be a breaking change because I added a ScaleFactor alias with a deprecated annotation, but it's hard to know for sure.

The idea is to rename ScaleFactor into TypedScale and make it's api more in line with the other transformation types (TypedTransform2D/3D, TypedRotation, etc.).


This change is Reviewable

@nical
Copy link
Collaborator Author

nical commented Dec 7, 2017

@kvark r?

@kvark
kvark approved these changes Dec 7, 2017
@kvark
Copy link
Member

kvark commented Dec 7, 2017

consistency ftw!
@bors-servo r+

@bors-servo
Copy link
Contributor

bors-servo commented Dec 7, 2017

📌 Commit 6dfa66f has been approved by kvark

@bors-servo
Copy link
Contributor

bors-servo commented Dec 7, 2017

Testing commit 6dfa66f with merge 244f4cc...

bors-servo added a commit that referenced this pull request Dec 7, 2017
Rename ScaleFactor int TypedScale.

@SimonSapin is about to do a breaking change in euclid (and corresponding bumps in the servo ecosystem), so I'd like to sneak in a few breaking changes that I hadn't bothered to do because bumping euclid is tiresome.

This one might not actually be a breaking change because I added a ScaleFactor alias with a deprecated annotation, but it's hard to know for sure.

The idea is to rename ScaleFactor into TypedScale and make it's api more in line with the other transformation types (TypedTransform2D/3D, TypedRotation, etc.).

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

bors-servo commented Dec 7, 2017

☀️ Test successful - status-travis
Approved by: kvark
Pushing 244f4cc to master...

@bors-servo bors-servo merged commit 6dfa66f into servo:master Dec 7, 2017
1 of 2 checks passed
1 of 2 checks passed
continuous-integration/travis-ci/pr The Travis CI build could not complete due to an error
Details
homu Test successful
Details
@nical nical deleted the nical:scale branch Dec 7, 2017
@nical nical changed the title Rename ScaleFactor int TypedScale. Rename ScaleFactor into TypedScale. Dec 7, 2017
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

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