Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clicking on a room border should select the closest room. #7178

Open
ZookaOnGit opened this issue Mar 11, 2024 · 1 comment
Open

Clicking on a room border should select the closest room. #7178

ZookaOnGit opened this issue Mar 11, 2024 · 1 comment

Comments

@ZookaOnGit
Copy link
Contributor

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.

image

Setting room borders to off doesn't seem to assist the selection.

Steps to reproduce the issue / Reasons for adding feature:

  1. Make a huge map (1000x1000 room supplied) 1000x1000-mudlet-map.tar.gz
  2. Zoom out so you can see it all and click around the area.
  3. 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

@ZookaOnGit
Copy link
Contributor Author

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant