Skip to content

Remove rendering if priority label is empty.#136

Merged
a-sr merged 1 commit intomasterfrom
sdo/fixPriorityRendering
Sep 30, 2025
Merged

Remove rendering if priority label is empty.#136
a-sr merged 1 commit intomasterfrom
sdo/fixPriorityRendering

Conversation

@soerendomroes
Copy link
Member

If no priority is available delete the rendering. This fixes the issue of the empty rendering being displayed for on edge labels.

See kieler/KLighD#231

Copy link
Member

@NiklasRentzCAU NiklasRentzCAU left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As I said in KLighD, it might be dangerous to remove this property. Can you tell me what happens if the label manager is changed to show a label again after it has been removed here? If that does not break anything, this is good!

@soerendomroes
Copy link
Member Author

As I said in KLighD, it might be dangerous to remove this property. Can you tell me what happens if the label manager is changed to show a label again after it has been removed here? If that does not break anything, this is good!

This does not seem to be an issue:
Screencast from 24.07.2025 14:44:07.webm

Copy link
Member

@a-sr a-sr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok

@a-sr a-sr merged commit 7a7c34c into master Sep 30, 2025
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants