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

Use legend entry's option instead of object's DrawOption when deciding endcaps #17332

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

will-cern
Copy link
Contributor

I have encountered the case where the legend is being drawn to a separate pad from the object, which means the GetDrawOption() returns a blank string no matter how it was drawn in the other pad.

It would surely make most sense to have the decision about endcaps be determined from the TLegendEntry option, like all the other aspects of the drawing of the legend entry.

This PR makes that change.

…where legend is drawn to a different pad than the object
@will-cern will-cern requested a review from couet as a code owner December 21, 2024 12:36
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.

1 participant