jsketch
jsketch copied to clipboard
how to change canvas width and height full window ?
when i set width and height 100% the point of stroke not center with mouse
Have you tried to set the size (width and height canvas attributes) in absolute pixel values?
@luileito yes i did it and working fine, but when i change to percent not working. i want to make the canvas responsive for every device width. is this packages support for doing that ?
This isn't currently supported, but you can do it with JS: https://stackoverflow.com/a/39774800