Skip to content

Int precision#12

Merged
giulioz merged 3 commits into
masterfrom
int-precision
Sep 3, 2020
Merged

Int precision#12
giulioz merged 3 commits into
masterfrom
int-precision

Conversation

@giulioz

@giulioz giulioz commented Sep 2, 2020

Copy link
Copy Markdown
Member

Closes #9

Multiplies every flex prop, calculated size and position by a factor (passed by prop, defaults to 100), to preserve floating point precision.

Comment thread src/util.ts Outdated
Comment thread src/Flex.tsx
Comment thread src/util.ts
Comment thread src/util.ts Outdated
@giulioz giulioz merged commit 745c66c into master Sep 3, 2020
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.

Integer precision fix

2 participants