Skip to content

Commit f4a32aa

Browse files
committed
Changed variable name
1 parent 3a6a4ac commit f4a32aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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)