powsybl / powsybl-dev-tools

2 stars 1 forks source link

[sld-viewer] Update styleProviders before redrawing #75

Closed flo-dup closed 1 year ago

flo-dup commented 1 year 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? Following powsybl-diagram 3.1.0 release, the topologyStyleProvider is increasing the style counter when reused for another diagram

What is the new behavior (if this is a feature change)? The topologyStyleProvider is renewed when drawing another diagram

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

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication