Closed Rickybarb5 closed 2 years ago
If the zoom value is 0 or lower, the diagram stop working properly. To avoid this I have added checks on the setZoom function to ensure that the devs know that this is a limitation.
Hi, thanks for the PR!
I've added a few changes to make the code cleaner.
If the zoom value is 0 or lower, the diagram stop working properly. To avoid this I have added checks on the setZoom function to ensure that the devs know that this is a limitation.