Skip to content

Commit c75b29e

Browse files
committed
Changed variable name
1 parent a1422fc commit c75b29e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

frontend/src/components/widgets/inputs/RulerInput.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,8 +154,8 @@
154154
}
155155
156156
function mod(n: number, m: number): number {
157-
const r = n % m;
158-
return Math.floor(r >= 0 ? r : r + m);
157+
const remainder = n % m;
158+
return Math.floor(remainder >= 0 ? remainder : remainder + m);
159159
}
160160
161161
onMount(resize);

0 commit comments

Comments
 (0)