adapted ALU + minor fix in add-ports

This commit is contained in:
2025-04-19 17:16:09 +02:00
parent 4733f69b51
commit cd8784fcee
5 changed files with 50 additions and 71 deletions

View File

@ -142,7 +142,7 @@
pt0.at(1) - pt1.at(1)
}
for (i, port) in side-ports.enumerate() {
let offset = get-port-pos(elmt, bounds, side, port, i)
let offset = get-port-pos(elmt, bounds, side, port.id, i)
let pos = (pt0, offset, pt1)
let offset-prev = if type(offset) == ratio {