capajon / r6maps

Rainbow Six Siege map quick references
MIT License
78 stars 52 forks source link

Toggle visibilty of labels #138

Open caseymh opened 5 years ago

caseymh commented 5 years ago

Can we get a button added where we toggle the visibility of room labels? This would be nice as I have started using this site to memorize map layouts so that I can improve my callouts.

It is as simple as adding a button with $('.room-label').toggle() in the on click event of the button

purechaose commented 5 years ago

This is actually something I’ve been planning to add but I don’t actually know js/webdev that well. I can’t currently work on r6maps, but I should be able to try that out in about a week, and if it works, it’ll be on my fork after I figure out where and how to put the button. Edit: also if you’d like, you can add it yourself and PR to my fork or here and I’ll merge it in when I can.

caseymh commented 5 years ago

I can maybe try to figure it out sometime this week if you want. If so just let me know and let me know how you want it done, a button next to the floors or a checkbox on the legend for each type and be able to toggle each of them.

On Apr 20, 2019 1:42 PM, purechaose notifications@github.com wrote:

This is actually something I’ve been planning to add but I don’t actually know js/webdev that well. I can’t currently work on r6maps, but I should be able to try that out in about a week, and if it works, it’ll be on my fork after I figure out where and how to put the button.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/capajon/r6maps/issues/138#issuecomment-485157922, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AEOWY2U6O6ZUSAT67U5YU3LPRNW33ANCNFSM4HHGPJ5Q.