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

Removing max height of histogram #17045

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

johnlb
Copy link

@johnlb johnlb commented Jun 23, 2024

When implementing height limits on modules, the histogram container was also limited. This is not desirable, though, since screens with high resolution make the histogram small and hard to read, particularly when using the scope. This commit fixes this by doing two things:

  1. Making functions auto-detect whether they should use height or
    aspect ratio to manage the container size by checking whether
    the passed "config_str" variable refers to height or aspect ratio
    -- Note: this is actually safer anyway, since it was perfectly
    possible before to pass an AR request to a height function

  2. Changing the histogram back to using aspect ratio instead of height

also limited. This is not desirable, though, since screens with high
resolution make the histogram small and hard to read, particularly when
using the scope. This commit fixes this by doing two things:

1) Making functions auto-detect whether they should use height or
   aspect ratio to manage the container size by checking whether
   the passed "config_str" variable refers to height or aspect ratio
   -- Note: this is actually safer anyway, since it was perfectly
            possible before to pass an AR request to a height function

2) Changing the histogram back to using aspect ratio instead of height
@ralfbrown ralfbrown added the scope: UI user interface and interactions label Jun 28, 2024
@pomoke
Copy link

pomoke commented Jul 6, 2024

Limited height histogram/waveform is actually some kind of regression as it seems there were no such limitation in past releases. A tall waveform is better for distinction of tones.

@johnlb
Copy link
Author

johnlb commented Jul 7, 2024

Is there anything else needed from me for this to get added? Would it be useful for me (or would it be useful in the future) to open a ticket to track/document the issue better?

@zisoft zisoft linked an issue Jul 18, 2024 that may be closed by this pull request
Copy link

github-actions bot commented Sep 6, 2024

This pull request has been marked as stale due to inactivity for the last 60 days. It will be automatically closed in 300 days if no update occurs. Please verify it has no conflicts with the master branch and rebase if needed. Mention it now if you need help or give permission to other people to finish your work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: UI user interface and interactions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Histogram Shouldn't Have Max Height
3 participants