Skip to content

Commit 38ad862

Browse files
encukounedbat
authored andcommitted
Use the same radius everywhere
1 parent 70a2fe5 commit 38ad862

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

_tools/release_cycle_template.svg.jinja

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
{% for version in versions %}
7777
{% set top_y = version.y * line_height - 1 * SCALE %}
7878
{% set small_text_y = version.y * line_height - 0.1 * SCALE %}
79+
{% set height = 1.25 * SCALE %}
7980

8081
<!-- Colourful blob with a label. -->
8182

@@ -87,7 +88,6 @@
8788
Thanks Claude.ai for the initial conversion.
8889
-->
8990
{% set middle_x = ([end_x, date_to_x(version.start_security_date)]|min) %}
90-
{% set height = 1.25 * SCALE %}
9191
{% set left_width = (middle_x - start_x) %}
9292
{% set right_width = (end_x - middle_x) %}
9393
{% set radius = 0.25 * SCALE %}
@@ -134,8 +134,8 @@
134134
y="{{ top_y }}"
135135
width="{{ (end_x - start_x) }}"
136136
height="{{ height }}"
137-
rx="0.25em"
138-
ry="0.25em"
137+
rx="{{ radius }}"
138+
ry="{{ radius }}"
139139
mask="url(#release-cycle-mask-{{ id_key }})"
140140
/>
141141
{% else %}
@@ -147,8 +147,8 @@
147147
y="{{ top_y }}"
148148
width="{{ (end_x - start_x) }}"
149149
height="{{ height }}"
150-
rx="0.25em"
151-
ry="0.25em"
150+
rx="{{ radius }}"
151+
ry="{{ radius }}"
152152
mask="url(#release-cycle-mask-{{ id_key }})"
153153
/>
154154
{% endif %}

0 commit comments

Comments
 (0)