Skip to content
This repository has been archived by the owner on Feb 19, 2022. It is now read-only.

Add minus option to point #339

Merged
merged 3 commits into from
Feb 8, 2018

Conversation

MayGo
Copy link
Contributor

@MayGo MayGo commented Feb 7, 2018

screen shot 2018-02-07 at 9 34 00 am

it("draws a path for a minus at the correct location", () => {
const pathResult = PathHelpers.minus(0, 0, 1);
const baseSize = 1.1 * size;
const lineHeight = baseSize / 0.15;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think your lineHeight calculation here differs from the implementation.

@boygirl
Copy link
Contributor

boygirl commented Feb 7, 2018

@MayGo Thank you for this addition. The spec you added is currently failing, but I will merge this change if you make it pass.

@boygirl
Copy link
Contributor

boygirl commented Feb 8, 2018

Thanks!

@boygirl boygirl merged commit abf3fe9 into FormidableLabs:master Feb 8, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants