-
Notifications
You must be signed in to change notification settings - Fork 2k
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
draw_key_rect
fails to get color from outline when fill
is NA
#5385
Comments
I think this is actually a bug. The rectangle draw key was meant to pick up the outline color when the fill color isn't given, but that apparently doesn't work. Not sure if it did work in the past and doesn't anymore or if it never worked. The problem is in this line: Line 66 in 2cd0e96
It is meant to pick There's nothing to change in the documentation, because the |
Thanks for clarifying, very helpful! Can you migrate this to a bug report then? |
You can just edit the title accordingly. I've added the "bug" label. |
Not realizing it was a bug, I had also asked this as a question on StackOverflow. Stefan's answer there may help on this: |
draw_key_rect
fails to get color from outline when fill
is NA
I agree that this is a bug, but there currently isn't a way of distinguishing whether the |
Problem:
When using
draw_key_rect
with ageom
that hasfill = NA
, it fails to catch the outline color and returns an invisible (NA
) rectangle.Minimal reprex:
Created on 2023-08-10 with reprex v2.0.2
The text was updated successfully, but these errors were encountered: