powsybl / powsybl-diagram-viewer

Other
2 stars 1 forks source link

[sld-viewer] Center navigation arrow #33

Closed flo-dup closed 7 months ago

flo-dup commented 7 months ago

Please check if the PR fulfills these requirements

Does this PR already have an issue describing the problem? No

What kind of change does this PR introduce? Bug fix

What is the current behavior? Navigation arrow is not centred in the cell except for lines. screenshot

What is the new behavior (if this is a feature change)? Navigation arrow centred for two-winding transformers and HVDC.

Does this PR introduce a breaking change or deprecate an API?

flo-dup commented 7 months ago

Tested thanks to the demo: works on phase-shift transformers, two-windings transformers, LCC, VSC (and still works on lines)

screenshot screenshot