Commit 69b83f5
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 75434d6 commit 69b83f5
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1756 | 1756 | | |
1757 | 1757 | | |
1758 | 1758 | | |
| 1759 | + | |
| 1760 | + | |
| 1761 | + | |
| 1762 | + | |
| 1763 | + | |
1759 | 1764 | | |
1760 | 1765 | | |
1761 | 1766 | | |
| |||
0 commit comments