Closed fred4ets closed 1 year ago
Thanks for the report. I can replicate the issue.
Thanks a lot!
In fact, it still does not work :/
In fact, it still does not work :/
Hmmm... I had this working on my machine with your code snippet. You should have a larger target area now - clicking on the icon next to the label should work as well. But I will revisit in case something went wrong during the commit process - maybe even add a test.
FWIW, the issue was that there was an ad-hoc hack of taking the label coordinate and adding 20 pixels to get the position, but the actual width that was needed was closer to 30 pixels (but variable) which meant that when the length of the text was less than ~10 pixels there was no valid hitbox.
This is what I get when I try the PR branch on my machine:
https://github.com/enthought/chaco/assets/600761/42fe6f40-3074-4435-b48e-a114d7708682
This is good, now.
Thanks a lot again.
Hello,
I have the following issue when I run the CME below:
if 'name' (line 52) is set to a string with only one character, LegendHighlighter does not work (does not highlight curve), whereas it runs without problem in any other case.
Any help would be appreciated.
Thanks in advance.
Regards
Python 3.9.2, Debian 11 x86_64, code source from github