I have a canvas, which is infinite right now, I can make PAN up to the coordinates that I want. But our users, are lost after an intense use of it, because they can not find the objects.
I want to implement a limit that the user puts in the canvas.
I know how to limit the bread when, the work size is smaller than the size of the canvas, simply not letting the bread tool do its job.
But I have problems when the user asks me for a bread size larger than the size of the canvas
The default canvas size is 900 x 600, and my user needs to be able to work on 2000x2000. The canvas would still be 900x600 but the PAN tool is enabled, and can move within the canvas, up to the 2000x2000 limit
I have seen in the fabric demos, that there is a tutorial of Pan, but it is not compatible with my problem, because in that example, the canvas is fixed