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

Spectrum markers: Allow both types to be displayed at the same time #1306

Merged
merged 1 commit into from
Jun 24, 2022

Conversation

srcejon
Copy link
Collaborator

@srcejon srcejon commented Jun 24, 2022

This PR makes two two small changes to spectrum markers.

Firstly, it adds an option of All, to allow both Spectrum markers and Annotations to be displayed at the same time. (MarkersDisplay enum changed to a bitmask in case we want more permutations of additional marker types in the future).

Secondly, it adds an additional option of Text for the Annotation markers, so that the Annotation text is displayed in the header, without the full height bandwidth markers being drawn (just my personal preference!)

Also, I made a small change, so that the bandwidth lines are always drawn when annotations are visible - however, unless the setting is full, the lines are drawn only in the header area, so that you can see where bands start and finish if they are contiguous. If you don't like this, I'm happy to change it back / tweak it further.

@f4exb f4exb merged commit 691a5f3 into f4exb:master Jun 24, 2022
@srcejon srcejon deleted the spec_markers branch July 18, 2022 21:46
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.

2 participants