You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that we worked out how to detect size changes in the parent div and reset the scales appropriately, this feels like the right combination which almost everyone will want most of the time:
width/height 'auto' - yes it's tricky but it seems to be working. I have applied it in all the demos and a couple of other places
restrictPan true - when does the user want to be able to pan everything off the screen? the only issue here is it jerks back and forth a little right where the canvas gets to the same size as the div, maybe there could be a little tolerance
Now that we worked out how to detect size changes in the parent div and reset the scales appropriately, this feels like the right combination which almost everyone will want most of the time:
'auto'
- yes it's tricky but it seems to be working. I have applied it in all the demos and a couple of other placestrue
- when does the user want to be able to pan everything off the screen? the only issue here is it jerks back and forth a little right where the canvas gets to the same size as the div, maybe there could be a little toleranceFeatures which seem so simple until you really look at them...
The text was updated successfully, but these errors were encountered: