Skip to content
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

Use CSS to create select tool rectangular preview #203

Open
zeyadhazem opened this issue Aug 3, 2017 · 1 comment
Open

Use CSS to create select tool rectangular preview #203

zeyadhazem opened this issue Aug 3, 2017 · 1 comment

Comments

@zeyadhazem
Copy link
Contributor

Currently the rectangle created on select tool is a temporary pixel.js rectangle object. Drawing such a rectangle requires the layer's canvas to be refreshed every time the rectangle is being resized. This results in a slowly responsive selection. Using CSS will avoid this behaviour specially since there is no need for canvas refresh.

@zeyadhazem
Copy link
Contributor Author

Creating a square when pressing shift will also be another challenge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant