s-alad / toofake

View friends BeReals without posting or them knowing. Post custom BeReal's whenever. Add custom realmojis
https://toofake.lol/
MIT License
152 stars 33 forks source link

Allow floating point number for coordinates #27

Closed retoheusser closed 1 year ago

retoheusser commented 1 year ago

parseInt makes the coordinates an integer, which loses a lot of precision when providing custom coordinates. It ends up posting it in a different location than intended.

vercel[bot] commented 1 year ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
toofake ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 7, 2023 at 3:32PM (UTC)
netlify[bot] commented 1 year ago

Deploy Preview for precious-sopapillas-900038 failed.

Name Link
Latest commit 9e6510dc6c099678b180e752cefebfdceebe681d
Latest deploy log https://app.netlify.com/sites/precious-sopapillas-900038/deploys/64075912685ebc0008bab0a7
s-alad commented 1 year ago

parseInt makes the coordinates an integer, which loses a lot of precision when providing custom coordinates. It ends up posting it in a different location than intended.

Good catch, wasn't thinking too sharp. Feel free to make any other corrections as I haven't been as involved recently.