🐛 Fix constraint-modifier :default arity mismatch

All concrete constraint-modifier methods accept 6 arguments
(type, axis, child-before, parent-before, child-after, parent-after)
but the :default fallback only declared 5 parameters. Any unknown
constraint type would therefore receive 6 args and throw an arity
error at runtime. Added the missing sixth underscore parameter.

Signed-off-by: Andrey Antukh <niwi@niwi.nz>
This commit is contained in:
Andrey Antukh 2026-04-14 19:38:25 +00:00
parent 80124657b8
commit 7e9fac4f35

View File

@ -234,7 +234,7 @@
after-side-vector (side-vector axis parent-points-after)]
(ctm/move-modifiers (displacement center-before center-after before-side-vector after-side-vector))))
(defmethod constraint-modifier :default [_ _ _ _ _]
(defmethod constraint-modifier :default [_ _ _ _ _ _]
[])
(def const->type+axis