Rename YGUnitPixel to YGPoint... #375
Reference in New Issue
Block a user
No description provided.
Delete Branch "pixel-to-point"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
...to reflect the modern world we live in with dynamic DPI platforms :)
Thanks @hartbit. This looks good to me, but I'll leave it upto @emilsjolander to merge it.
I'll get to this on monday. Thanks @hartbit !
The build failures seem unrelated...
@hartbit agreed. I've had a lot of other stuff to deal with today. I'm going to try to look at both this PR and the failing tests tomorrow or Wednesday. The PR looks good though so don't let this block you from working on the next PR in the chain 👍
@emilsjolander No worries :) I have pretty much finished the percentage value adaptation, but I have similar errors and I'd like to know for sure I didn't cause any before opening a PR, so let me know whenever you've figured the current ones out. Thx!
@hartbit Seems unrelated 👍
@emilsjolander has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
Could you squash & rebase. The PR failed to import
@emilsjolander I'm not a git guru :) Can you confirm that those are the steps you want me to take?
git rebase -i HEAD~X
Do I really need to squash? I only have one commit?git rebase master
No need to squash, just rebase (copy pasted same message in multiple PRs :p) I'm not git pro either but have a look at https://github.com/edx/edx-platform/wiki/How-to-Rebase-a-Pull-Request
@hartbit did you figure it out?
@emilsjolander I think I did the rebase correctly.
@hartbit Sadly no. If you look at the file changes and commits in this PR it now contains a lot of other commit. Re-apply your commit to the latest master and push / force push it onto your remote branch.
@emilsjolander Figured it out :)
@emilsjolander has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
@hartbit FYI I'll rename
roundToPointGrid
back toroundToPixelGrid
before landing. At some point we will want to support point scale factor to round to pixel grid even though input is points.👍🏻
Pull request closed