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

Responsiveness #41

Open
carlosnpz opened this issue Jan 12, 2016 · 3 comments
Open

Responsiveness #41

carlosnpz opened this issue Jan 12, 2016 · 3 comments

Comments

@carlosnpz
Copy link

What about responsiveness? I implemented this plugin on a responsive website, but if I draw, for example, a big sun in a resolution of 1920x1080 and resize the screen to 1024x768, the drawing moves horizontally and loses its proportion related to the background... :'(

@jeromechoo
Copy link

@carlosnpz You're drawing images, so it's as responsive as an image could be on a site. If the width is resized, the image will resize itself appropriately. Unless I'm missing something you're saying?

@vetri50ster
Copy link

@carlosnpz : SketchJS -> Canvas was not responsive.How to get rid of this issue.When i can expect the updated release or suggestion?

@slruslan
Copy link

Hi guys, I've made a fork and fixed this problem. The resize event is handled, sketch sizes and positions are all recalculated and updated.
Since author doesn't accept pull requests, you can check out the code here: https://github.com/slruslan/sketch.js.

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

4 participants