mirror of
https://github.com/JustinSDK/dotSCAD.git
synced 2025-07-31 20:10:36 +02:00
should be remain > 1
This commit is contained in:
@@ -1,3 +1,3 @@
|
|||||||
function __nearest_multiple_of_4(n) =
|
function __nearest_multiple_of_4(n) =
|
||||||
let(remain = n % 4)
|
let(remain = n % 4)
|
||||||
remain > 2 ? n - remain + 4 : n - remain;
|
remain > 1 ? n - remain + 4 : n - remain;
|
||||||
|
Reference in New Issue
Block a user