powsybl / powsybl-diagram-viewer

Other
2 stars 1 forks source link

Sld wide svg fix #13

Closed CBiasuzzi closed 1 year ago

CBiasuzzi commented 1 year ago

Please check if the PR fulfills these requirements (please use '[x]' to check the checkboxes, or submit the PR and then click the checkboxes)

Does this PR already have an issue describing the problem ? If so, link to this issue using '#XXX' and skip the rest

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...) bug fix

What is the current behavior? (You can also link to an open issue here) display logic in the SLD viewer when the svg is too big, to display the left corner: fixes the zoom computation

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change or deprecate an API? If yes, check the following:

Other information:

(if any of the questions/checkboxes don't apply, please delete them entirely)

etiennehomer commented 1 year ago

Let's merge and I release a new version ?

CBiasuzzi commented 1 year ago

Let's merge and I release a new version ?

yes, please!