Open agausmann opened 10 months ago
Longitude should range between -180 and 180 (I am at -91 degrees :upside_down_face: )
Unable to enter decimal values. I think this is caused by this update to the value in the element. By reformatting the value, it effectively removes the decimal point that the user entered. https://github.com/animal-crossing-music-extension/ac-music-app/blob/f9053f8ce510e853b7a6a6b7ae25a5ec1e23ba4a/components/Widget/Options/Location.vue#L221-L226 One way to fix this is to only update the element text if the value was out of range.
I can try to fix this in a few hours when I get off work.
ah true, i forgot that about longitude, it also seems as if i forgot to test it fully haha. a PR is welcome otherwise i'm happy to fix it myself
Longitude should range between -180 and 180 (I am at -91 degrees :upside_down_face: )
Unable to enter decimal values. I think this is caused by this update to the value in the element. By reformatting the value, it effectively removes the decimal point that the user entered.
https://github.com/animal-crossing-music-extension/ac-music-app/blob/f9053f8ce510e853b7a6a6b7ae25a5ec1e23ba4a/components/Widget/Options/Location.vue#L221-L226
One way to fix this is to only update the element text if the value was out of range.
I can try to fix this in a few hours when I get off work.