fix zoom speed issue on linux with chrome based browsers (#99)
starting with chrome v109 on linux they doubled the scrollwheel delta, so now the browser scrolls too fast. this was an intentional change and people are happy with it, however it create a lot of unintentional bugs. one bug is that leaflet now zooms in/out too fast again (it jumps 2 zoom levels instead of 1). other bugs include scrolling content way too quickly, like a select box scrolling so fast you miss some options (it goes from 1-4 to 8-11 with one mousewheel tick lol)
anyways, long story short is the fix in leaflet from years ago needs to be removed. until then we can workaround it by doubling the ratio in the map options on our end when we detect linux+chrome combination.
chore: bump paperweight to 2.0.0
Fix reversed byte order in custom file protocol
Before, the packed integer was being turned into a reversed byte array. This isn't really an issue as long as it's converted back into a packed integer using the same logic.
settings.web-directory.read-only
will need to be set to false
in the config when updating Pl3xMap to the version with this fix, since it includes changes to the webmap files.
fix map size on load
fixes android browser url bar pushing page off-screen
https://chanind.github.io/javascript/2019/09/28/avoid-100vh-on-mobile-web.html