TechnicJelle / BlueMapOfflinePlayerMarkers

Minecraft Paper plugin and BlueMap addon that adds markers where players have logged off
Mozilla Public License 2.0
14 stars 8 forks source link

Markers always start as big, even when the camera is zoomed out #38

Open TechnicJelle opened 8 months ago

TechnicJelle commented 8 months ago

The JavaScript that is responsible for scaling the marker image only runs whenever the camera has moved. However, when the map is just loaded, the camera has not moved yet. As such, the distance check does not happen, and they default to be big. When the camera is then moved, they animate to their proper small size, which looks a bit weird.

I am marking this issue as help wanted because I don't know enough of the BlueMap JavaScript API to fix this. Luckily, it's not a very big bug.