Skip to content
New issue

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

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

Already on GitHub? # to your account

FIX do not show labels for invisible shapes #429

Merged
merged 2 commits into from
Feb 18, 2022

Conversation

mvdoc
Copy link
Contributor

@mvdoc mvdoc commented Feb 18, 2022

The visibility setting of individual shapes in the overlays.svg file is currently not checked in cortex.svgoverlay.get_texture. This causes labels for invisible ROIs to show up in the quickflat. This PR fixes the logic by honoring the visibility of the SVG shapes in overlays.svg.

Previous version (note labels like FC, VTC, STG showing up):
image

This PR:
image

@mvdoc mvdoc merged commit 70d5950 into gallantlab:main Feb 18, 2022
@mvdoc mvdoc deleted the FIX/labelvisibility branch February 18, 2022 23:39
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants