Skip to content

[CSS-Typed OM] CSSScaleValue should accept one argument #887

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

Open
Rumyra opened this issue May 8, 2019 · 0 comments
Open

[CSS-Typed OM] CSSScaleValue should accept one argument #887

Rumyra opened this issue May 8, 2019 · 0 comments

Comments

@Rumyra
Copy link

Rumyra commented May 8, 2019

In CSS you can use one value inside of a scale function and it will apply to both x and y axis.

This is not the case for the CSSScaleValue - which doesn't have a one argument constructor version. At the moment we do this:

new CSSScale(CSS.number(2), CSS.number(2))

Would make sense to do new CSSScale(CSS.number(2))

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

No branches or pull requests

1 participant