Skip to content

fix(viz): SLine appears when the size is changed even if it is hidden

Description

Sline does not handle visibility properly. The service method roles has been clarified:

  • update displays the line if it visible
  • setLength changes the length of the line, and request the update
  • setVisibility changes the visibility, and request the update
  • at creation the setVisibility is called to hide/show the line depending on the configuration.

Closes #1057 (closed)

How to test it?

Add an Sline adaptor in a config. Make it hidden by default, and connect its visibility (hide/show/etc...) on it. The visibility should change properly. Try changing its length in hidden or visible mode.The visibility should not change.

Edited by Michaël KUGLER

Merge request reports