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

Workaround for unsupported non-scaling-stroke in Edge #76

Open
nponeccop opened this issue Jan 24, 2017 · 2 comments
Open

Workaround for unsupported non-scaling-stroke in Edge #76

nponeccop opened this issue Jan 24, 2017 · 2 comments

Comments

@nponeccop
Copy link
Collaborator

Currently lines get thicker with zoom. Works in FF and Chrome including mobile.

@streamcode9
Copy link
Owner

Maybe we should zoom stroke width? Something like:

strokeWidth = 1 / scale

@nponeccop
Copy link
Collaborator Author

nponeccop commented Jan 24, 2017

It is only a partial workaround as the problem is that the scale is non-uniform - the lines get thick horizontally but thin vertically. Probably we need to combine stroke width adjustment with path regeneration when zoom changes much.

I think this issue is of low priority though.

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

2 participants