* Make statpanel relay used mouse button when clicking turf contents (#59557)
Just makes it so statpanel clicks are relayed with the relevant mouse button instead of always left click. As of current it only relays shift/alt/ctrl modifiers.
* Make statpanel relay used mouse button when clicking turf contents
Co-authored-by: fira <loyauflorian@gmail.com>
* Queue stat panel commands, ideally fixing another source of the reconnect bug (#59228)
* [The reconnect bug is maybe fixed] Queue stat panel commands, ideally fixing another source of the reconnect bug
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
* stat panel focus reset happens _before_ verb commands are ran (#58196)
* focus changes (like opening a verb window) caused by clicking stat verbs work again
Co-authored-by: William Wallace <me@wiox.me>
* remove input pass-through from stat panel and just try not to keep focus instead (#58143)
About The Pull Request
The input pass-through didn't work anyway, as it would pass through lower-case keys which our input code doesn't understand (unless you were holding shift or hadcaps lock on.) It also didn't translate arrow keys to NORTH, etc. which is how BYOND expects them.
If you double clicked on the stat panel it would eat all following input from you. If you happened to have caps lock on, you might not notice this because the correct WASD values get passed to BYOND. If you were then to stop walking while holding shift because you want to examine something, your key release would be sent to BYOND as lowercase, causing it to be ignored.
Under all of those conditions, your movement would get stuck in one direction. It's more likely than you think!!!
A similar chain of events could cause Alt releases to not be sent to BYOND due to this as well.
--
The fix is to just give back focus to the map similarly to how TGUI does it. It's not quite as majestic as TGUI, but it seems to have fine results.
Why It's Good For The Game
Nobody likes sticky keys
Changelog
🆑
fix: Stat panel no longer captures input (potentially causing keys to get stuck down)
/🆑
* remove input pass-through from statpanel and give focus to map instead
Co-authored-by: William Wallace <me@wiox.me>
* Make percentage width great again (#57577)
* Updates statpanel verb widths to be more dynamic at higher screen resolutions.
Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
* Use better layout for verbs in stat panel (#57527)
* Use better layout for verbs in stat panel
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
* Restyles Stat Panel, Adds Subpanel Sub-Categories (#53947)
I re-styled the CSS for the stat panel in hopes to make it look nice, and I also added the ability to use sub-categories (currently a single level) of verbs using a . (period), an example being Admin.Fun instead of the previous Admin - Fun. This now results in a sub-category being automagically generated in the stat panel.
* Restyles Stat Panel, Adds Subpanel Sub-Categories
Co-authored-by: Bobbahbrown <bobbahbrown@gmail.com>
* Optimize stat panel and fix guardian verbs (#53463)
Optimizes stat panel code for better performance, including icon caching and removing some unnecessary processing
Also fixes#53432fix#53381fix#53724
Changelog
add: icons are back on alt clicks
fix: horrible performance from alt clicking turfs with multiple objects
tweak:browser should notify the SS when it's ready to receive data
* Update statbrowser.html
* Apply suggestions from code review
Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@ users.noreply.github.com>
* hidden = TRUE
* almost ready
* Browser should notify when ready to receive data
* Apply MSO's suggestions
* reset cache if something in it gets deleted
* Fix runtime
* fix my stupid code
* send href_token when adding admin tabs
* fix an issue with cyborg suit topic
Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@ users.noreply.github.com>
* Optimize stat panel and fix guardian verbs
Co-authored-by: Couls <coul422@gmail.com>
Co-authored-by: Jared-Fogle <35135081+Jared-Fogle@ users.noreply.github.com>
* Fix Alt Clicking opening up a window and add back some object verbs to the browser stat panel (#53369)
Fixes some more issues with browser stat panel
- Alt clicking items in the listed turf tab doesn't open up a popup
- Toggle suit sensors button missing
* Fix Alt Clicking opening up a window and Add back some object verbs to the browser stat panel
Co-authored-by: Couls <coul422@gmail.com>