Clicking on a room border should select the closest room.
Opened this issue · 1 comments
Brief summary of issue / Description of requested feature:
Clicking on a white/grey line in this picture doesn't pick a neighbouring room (it deselects everything like clicking in blank space) even with "Rooms: 10" chosen. So when you zoom out on a very large map and try to select a point on the map you get nothing selected quite frequently.
Setting room borders to off doesn't seem to assist the selection.
Steps to reproduce the issue / Reasons for adding feature:
- Make a huge map (1000x1000 room supplied) 1000x1000-mudlet-map.tar.gz
- Zoom out so you can see it all and click around the area.
- You will notice that rooms aren't always selected, but are deselected like clicking on blank map space.
Error output / Expected result of feature
Clicking on a room border would choose the closest room match.
Extra information, such as the Mudlet version, operating system and ideas for how to solve / implement:
https://discord.com/channels/283581582550237184/1215109133150199889/1216222444587581450
Here are the environment colours used in the above map.
local GREEN1,GREEN2,GREEN3,GREEN4,GREEN5,GREEN6,GREEN7,GREEN8,GREEN9 = 300,301,302,303,304,305,306,307,308,309
setCustomEnvColor(GREEN9,247,252,245,255)
setCustomEnvColor(GREEN8,229,245,224,255)
setCustomEnvColor(GREEN7,199,233,192,255)
setCustomEnvColor(GREEN6,161,217,155,255)
setCustomEnvColor(GREEN5,116,196,118,255)
setCustomEnvColor(GREEN4,65,171,93,255)
setCustomEnvColor(GREEN3,35,139,69,255)
setCustomEnvColor(GREEN2,0,109,44,255)
setCustomEnvColor(GREEN1,0,68,27,255)
local BLUE1,BLUE2,BLUE3,BLUE4,BLUE5,BLUE6,BLUE7,BLUE8,BLUE9 = 400,401,402,403,404,405,406,407,408,409
setCustomEnvColor(BLUE9,247,251,255,255)
setCustomEnvColor(BLUE8,222,235,247,255)
setCustomEnvColor(BLUE7,198,219,239,255)
setCustomEnvColor(BLUE6,158,202,225,255)
setCustomEnvColor(BLUE5,107,174,214,255)
setCustomEnvColor(BLUE4,66,146,198,255)
setCustomEnvColor(BLUE3,33,113,181,255)
setCustomEnvColor(BLUE2,8,81,156,255)
setCustomEnvColor(BLUE1,8,48,107,255)