sylvainjule / kirby-annotator

Kirby field for adding notes to images by pinning them to specific coordinates. Kirby 2 and 3.
MIT License
108 stars 8 forks source link

Bug with Positions #16

Closed Werbschaft closed 3 years ago

Werbschaft commented 4 years ago
Bildschirmfoto 2020-10-16 um 14 56 01

On Refresh, all markers get on the left top. There's no way to get them back to the right Position. Also no resize or similar. Setup is done in the file blueprint as I want to use it with the builder field and there aren't sections possible.

Edit: I have found a solution, the values aren't saved in the structure field with a point, they are saved with a comma. Changing the fields to number format does the trick. In config.php we have set the correct local but without any changes.

Seems like this is similar to this: https://github.com/sylvainjule/kirby-annotator/issues/13

I created a pull request, hope it's ok. I don't have many experience with github ...

sylvainjule commented 3 years ago

Thank you! I have merged the PR!