From 2025d61665c0b0a3fe6622fe311f1ae030118cec Mon Sep 17 00:00:00 2001 From: Rasmus Mecklenburg <42248344+rmburg@users.noreply.github.com> Date: Tue, 4 Feb 2025 18:56:44 +0100 Subject: [PATCH] fix review finding --- book/src/toolbox/progress.typ | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/book/src/toolbox/progress.typ b/book/src/toolbox/progress.typ index 4b9ed38..74bfc12 100644 --- a/book/src/toolbox/progress.typ +++ b/book/src/toolbox/progress.typ @@ -9,8 +9,8 @@ toolbox.progress-ratio(ratio => { stack( dir: ltr, - rect(stroke: blue, fill: blue, width: ratio * 8cm), - rect(stroke: blue, fill: none, width: (1 - ratio) * 8cm), + rect(stroke: blue, fill: blue, width: 8cm * ratio), + rect(stroke: blue, fill: none, width: 8cm * (1 - ratio)), ) }) }