Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some ports disappear in rendering #189

Closed
NiklasRentzCAU opened this issue Jul 26, 2024 · 0 comments · Fixed by #190
Closed

Some ports disappear in rendering #189

NiklasRentzCAU opened this issue Jul 26, 2024 · 0 comments · Fixed by #190
Labels
bug Something isn't working klighd-core

Comments

@NiklasRentzCAU
Copy link
Member

With Smart Zoom enabled, ports (at least the ones from an OSGiViz synthesis) appear for one frame, then disappear from the DOM entirely.

From digging around a little, this is caused by the line const parentAbsoluteScale = element.parent.properties.absoluteScale in the depth-map being computed as undefined, causing subsequent NaN values for the port's x and y values.
This is caused by PR #181 and is related to #184, which should fix problems such as these once and for all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working klighd-core
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant