Compare commits

..

No commits in common. "main" and "v1.0.0" have entirely different histories.
main ... v1.0.0

2 changed files with 4 additions and 4 deletions

View file

@ -1,5 +1,5 @@
name = "kicad_sexpr"
version = "1.0.1"
version = "1.0.0"
description = "A gleam library for parsing kicad footprint files and symbol libraries"
licences = ["MIT"]
repository = { type = "forgejo", host = "git.7cs.dev", user = "lily", repo = "gleam-kicad-sexpr" }

View file

@ -302,14 +302,14 @@ pub fn fill(then next: NextFn(Fill, a)) -> Decoder(a) {
}
pub type Size {
Size(width: Float, height: Float)
Size(height: Float, width: Float)
}
pub fn size(then next: NextFn(Size, a)) -> Decoder(a) {
decode.token(named: "size", then: next, with: {
use width <- decode.float()
use height <- decode.float()
decode.success(Size(width:, height:))
use width <- decode.float()
decode.success(Size(height:, width:))
})
}