darktable
darktable copied to clipboard
Removing max height of histogram
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:
-
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
-
Changing the histogram back to using aspect ratio instead of height
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.
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?
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.
@johnlb : Sorry for the long delay before the review!
@johnlb : Any news about this? Do you want to pursue the work or should I close this PR?
Hmmm I thought I had pushed the changes you requested a while ago. Maybe it didn't make it to the master repo? I'll sync mine up again and push it after work today.
Alright I think I got all of the braces. Seems to be working on my side after a re-compile. Let me know if I missed anything!
@johnlb : Don't see the change on my side, the braces are still wrongly placed. And please do not merge master into the topic branch, if needed do a rebase. TIA.
@johnlb : Any new on this? TIA.
Almost a year without response. Closing.