Skip to content

Commit

Permalink
fix: fix parsing of IconStyle hotSpot (#53)
Browse files Browse the repository at this point in the history
Co-authored-by: Adrian Hoppe <[email protected]>
  • Loading branch information
adrianhoppe and Adrian Hoppe authored Jun 23, 2023
1 parent 653db9b commit c5f3df2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ where
match e.local_name().as_ref() {
b"scale" => icon_style.scale = self.read_float()?,
b"heading" => icon_style.heading = self.read_float()?,
b"hot_spot" => {
b"hotSpot" => {
let x_val = attrs.get("x");
let y_val = attrs.get("y");
let xunits = attrs.get("xunits");
Expand Down

0 comments on commit c5f3df2

Please sign in to comment.