ID:2646838
 
Resolved
The method used to determine exact pixel position of the mouse over a map control was incorrect, causing inaccuracies at high zoom levels.
BYOND Version:513.1539
Operating System:Windows 10 Home 64-bit
Web Browser:Chrome 87.0.4280.88
Applies to:Dream Seeker
Status: Resolved (513.1540)

This issue has been resolved.
Descriptive Problem Summary:
The 'icon-x' and 'icon-y' params passed in the mouse procs are off slightly when being tracked on a secondary map. These images show me simply parsing the params and displaying them as the mouse moves. When there is only one map, they work fine. When there are two, notice how the params flip from 16 back to 1 at the edge of the map.





Code Snippet (if applicable) to Reproduce Problem:

http://files.byondhome.com/Flick/ MouseTracking_bugtest_src.zip

Compile and run this. Click and drag within the smaller map. Open the .dmf and delete the large map and recompile and run. Notice that the values are now inaccurate at the edges.

I am using a zoom factor of 10, which probably has something to do with this.
Lummox JR resolved issue with message:
The method used to determine exact pixel position of the mouse over a map control was incorrect, causing inaccuracies at high zoom levels.