Delta-v/Content.Client/UserInterface/Systems
MilenVolf c0c9a8c2e4 Collapsible ghost roles menu (#32717)
* Make ghost roles collapsible

* Save `BodyVisible` state of each `Collapsible` box

* Make ghost role collapsible only when group has more than 1 role

* Make it a little prettier

* Make only ghost role buttons collapsible

* Apply requested changes

* Typo

* Small cleanup

* Store in list, instead of iterating

* Make unique ids more unique

* Move it out of the cycle

* Make _collapsibleBoxes into dictionary and use key instead of Collapsible boxes names

Added TODO. So after the problem will be fixed in `GhostRolesEui`, it should be mirrored and fixed here too.

* Put TODO in GhostRolesEui. I guess Issue must be made for this

* Use HashSet instead of Dictionary as suggested. Invert the HashSet, so being present means it uncollapsed

I decided to invert HashSet to _uncollapsedStates, because players surely will have more collapsed buttons than opened, so we optimise memory usage a little bit.

* Remove extra space from ghost roles window

* Add buttons stretching. Size 3:1
2024-11-15 17:26:03 +00:00
..
Actions Allow users to drag-reorder action bar (#32552) 2024-10-07 22:26:19 +01:00
Admin Fix baby jail (#29896) 2024-08-09 17:39:18 +01:00
Alerts upstream merge 7/9 (#1762) 2024-09-10 01:20:38 +10:00
Atmos/GasTank Reapply "Remove some BUI boilerplate" (#30214) (#30219) 2024-08-09 17:52:22 +01:00
Bwoink Add option for admins to disable bwoink (#25008) 2024-03-05 09:43:40 +01:00
Character Character menu issuer localization (#29840) 2024-08-09 17:50:12 +01:00
Chat upstream merge 7/9 (#1762) 2024-09-10 01:20:38 +10:00
CloseWindow Add EscapeContext keybind (#15301) 2023-04-13 18:10:44 -07:00
Crafting Fix construction button not working (#12033) 2022-10-22 10:51:03 +11:00
DamageOverlays Random spontaneous cleanup PR (#25131) 2024-02-18 23:02:29 +01:00
DecalPlacer Use ECS prototype-reload events (#22613) 2023-12-22 23:25:35 +01:00
Emotes Emotes Menu (#26702) 2024-05-07 02:19:25 +02:00
EscapeMenu Add UI click sounds (#22410) 2024-01-22 20:59:16 +01:00
Gameplay Removes IOnStateChanged calls from GameplayStateLoadController (#14617) 2023-03-12 21:02:14 -04:00
Ghost Collapsible ghost roles menu (#32717) 2024-11-15 17:26:03 +00:00
Guidebook some fixing 2024-08-28 02:23:54 +01:00
Hands Expand UseDelay to support multiple delays per entity; fix bible healing and bag pickup (#27234) 2024-05-03 00:11:26 +02:00
Hotbar Various item status fixes/tweaks (#27267) 2024-05-03 00:01:56 +02:00
Info Fixes client having authority over rules popup cvars (#28655) 2024-07-13 04:21:16 +02:00
Inventory Fix inventory GUI for non-inventory entities (#31306) 2024-08-27 00:34:13 +01:00
MenuBar Emotes Menu (#26702) 2024-05-07 02:19:25 +02:00
Objectives/Controls Wrap objective briefing text (#24244) 2024-01-26 23:05:38 +01:00
Sandbox Station AI overlay (#31335) 2024-08-27 00:41:09 +01:00
Storage Fix storage UI interactions (#28291) 2024-06-01 17:13:10 +02:00
Viewport Replace xform.WorldPosition with xformSystem method for Setting/Getting (#30029) 2024-08-09 18:57:59 +01:00
Vote Fix lobby votes (#15041) 2023-04-02 01:00:48 +11:00
ProgressColorSystem.cs Add a toggle for colorblind friendly progress bar colors (#25318) 2024-03-17 14:46:26 +01:00