Commit 65281f6
committed
Fix render_labels silently rendering invisible labels when fill_alpha=0 and outline_alpha=0 (#630)
The dispatch chain's first branch matched `fill_alpha == outline_alpha`,
routing the (0, 0) case to the fill-only path with alpha=0 and leaving
the existing ValueError as dead code. Add an explicit guard so the
error is actually raised.1 parent 072f04e commit 65281f6
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1764 | 1764 | | |
1765 | 1765 | | |
1766 | 1766 | | |
| 1767 | + | |
| 1768 | + | |
| 1769 | + | |
| 1770 | + | |
| 1771 | + | |
1767 | 1772 | | |
1768 | 1773 | | |
1769 | 1774 | | |
| |||
0 commit comments