Skip to content

Conversation

@nical
Copy link
Contributor

@nical 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
Contributor Author

nical commented Dec 7, 2017

@kvark r?

@kvark
Copy link
Member

kvark commented Dec 7, 2017

consistency ftw!
@bors-servo r+

@bors-servo
Copy link
Contributor

📌 Commit 6dfa66f has been approved by kvark

@bors-servo
Copy link
Contributor

⌛ Testing commit 6dfa66f with merge 244f4cc...

bors-servo pushed 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

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

@bors-servo bors-servo merged commit 6dfa66f into servo:master Dec 7, 2017
@nical nical deleted the scale branch December 7, 2017 19:11
@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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants