From c5f3df2e293c071fd3db0d577db3348fc7c0656c Mon Sep 17 00:00:00 2001 From: adrianhoppe Date: Fri, 23 Jun 2023 04:26:20 +0200 Subject: [PATCH] fix: fix parsing of IconStyle hotSpot (#53) Co-authored-by: Adrian Hoppe --- src/reader.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reader.rs b/src/reader.rs index 45ea1d8..c24f4f7 100644 --- a/src/reader.rs +++ b/src/reader.rs @@ -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");