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
When you set padding in a config, something like
padding: {left: 5, top: 5, right: 5, bottom: 5}
And you have scalable set to true, the padding scales and thus becomes larger.
Right now there is no way to add a bit of padding which does not become larger.
In most cases this is not a problem, but if you have a tiny shape, the padding becomes huge, as you can see in the testable address.
See, I'm using moveable in a drawing application, and so the user can freedraw, creating SVG shapes, so they can make tiny shapes. In these cases, it can become a problem.
I'm not sure if this should be considered a bug, as this could be something people are relying upon.
The text was updated successfully, but these errors were encountered:
Environments
Description
When you set padding in a config, something like
padding: {left: 5, top: 5, right: 5, bottom: 5}
And you have scalable set to true, the padding scales and thus becomes larger.
Right now there is no way to add a bit of padding which does not become larger.
In most cases this is not a problem, but if you have a tiny shape, the padding becomes huge, as you can see in the testable address.
See, I'm using moveable in a drawing application, and so the user can freedraw, creating SVG shapes, so they can make tiny shapes. In these cases, it can become a problem.
I'm not sure if this should be considered a bug, as this could be something people are relying upon.
The text was updated successfully, but these errors were encountered: