Skip to content

Commit ccd37a7

Browse files
authored
Fix subpixel gap between release cycle mask rects
Fix subpixel gap by widening white part by 1 pixel into black area, and moving gradient mask to top in z order
1 parent 4f8cdf3 commit ccd37a7

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

_tools/release_cycle_template.svg.jinja

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -169,18 +169,18 @@
169169
fill="black"
170170
/>
171171
<rect
172-
x="{{ legend_width - right_margin }}"
172+
x="{{ legend_width - 1 }}"
173173
y="0"
174-
width="{{ right_margin }}"
174+
width="{{ diagram_width + 1 }}"
175175
height="{{ diagram_height }}"
176-
fill="url(#release-cycle-mask-gradient-{{ id_key }})"
176+
fill="white"
177177
/>
178178
<rect
179-
x="{{ legend_width }}"
179+
x="{{ legend_width - right_margin }}"
180180
y="0"
181-
width="{{ diagram_width }}"
181+
width="{{ right_margin }}"
182182
height="{{ diagram_height }}"
183-
fill="white"
183+
fill="url(#release-cycle-mask-gradient-{{ id_key }})"
184184
/>
185185
</mask>
186186

0 commit comments

Comments
 (0)