Skip to content

Commit

Permalink
Fix inverted flat-brace rotations
Browse files Browse the repository at this point in the history
  • Loading branch information
matthew-e-brown committed Nov 22, 2023
1 parent 484392c commit 0f10cb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/decorations.typ
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@
// pointing upwards, so we set the origin and rotate the entire group accordingly
let (_, start, end) = coordinate.resolve(ctx, start, end)
set-origin(start)
rotate(vector.angle2(start, end))
rotate(vector.angle2(start, end) * -1)

let length = vector.dist(start, end)
let middle = aspect * length
Expand Down

0 comments on commit 0f10cb6

Please sign in to comment.