Files
Delta-v/Content.Client
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
..
2024-05-07 04:16:15 +02:00
2024-08-09 18:08:24 +01:00
2023-10-03 14:15:46 -05:00
2024-11-07 20:09:25 +00:00
2024-10-02 12:08:12 +01:00
2024-07-25 01:57:58 +02:00
2024-10-02 11:22:12 +01:00
2024-09-10 01:20:38 +10:00
2023-04-18 22:46:00 -07:00
2024-10-02 12:09:34 +01:00
2024-09-10 01:20:38 +10:00
2024-08-09 17:45:45 +01:00
2024-09-10 01:20:38 +10:00
2024-08-27 01:00:42 +01:00
2022-10-12 10:16:23 +02:00
2024-08-09 17:55:40 +01:00
2024-09-10 01:20:38 +10:00
2024-08-27 01:00:42 +01:00
2023-10-03 14:15:46 -05:00
2024-09-22 02:44:27 +01:00
2024-11-06 18:30:54 +01:00
2023-01-21 10:51:26 +11:00
2023-09-27 21:59:12 +02:00
2021-10-25 16:21:56 +02:00
2024-10-02 12:06:37 +01:00
2022-08-27 22:17:30 -07:00
2024-08-09 19:17:26 +01:00
2024-08-09 18:24:58 +01:00
2022-05-18 14:07:35 +10:00
2024-10-02 11:36:12 +01:00
2024-09-01 03:36:44 +01:00
2024-08-18 17:21:07 +00:00
2024-08-18 17:21:07 +00:00
2024-08-09 19:01:46 +01:00
2024-09-10 01:20:38 +10:00
2024-08-09 18:45:41 +01:00
2024-09-10 01:20:38 +10:00
2024-08-30 07:53:19 +01:00
2024-02-18 23:27:28 +01:00
2024-11-07 20:09:25 +00:00
2024-07-05 20:23:41 +02:00
2024-08-21 16:00:29 +01:00
2024-08-09 18:03:34 +01:00
2024-09-22 02:45:17 +01:00
2024-09-10 01:20:38 +10:00
2023-10-24 18:04:06 +02:00
2024-09-10 01:20:38 +10:00
2024-08-09 17:52:23 +01:00
2024-08-27 01:00:42 +01:00
2024-08-09 19:17:26 +01:00
2023-10-03 14:15:46 -05:00
2024-10-02 12:06:37 +01:00
2023-10-03 14:15:46 -05:00
2024-08-27 01:00:42 +01:00
2023-09-27 21:59:12 +02:00
2023-09-27 21:59:12 +02:00
2024-09-10 01:20:38 +10:00
2024-08-27 00:42:12 +01:00
2024-09-10 01:20:38 +10:00
2023-10-08 19:52:10 +02:00
2023-01-05 05:56:35 +11:00
2024-08-09 18:15:15 +01:00
2024-08-27 01:00:42 +01:00
2024-08-30 07:54:16 +01:00
2024-09-10 01:20:38 +10:00
2024-08-09 18:31:41 +01:00
2023-11-12 20:35:48 +01:00
2024-04-21 23:41:08 +02:00
2023-12-02 20:16:36 +01:00
2024-10-02 11:24:27 +01:00
2024-10-02 12:06:05 +01:00
2024-11-07 20:09:25 +00:00
2024-10-24 02:06:01 +01:00
2022-02-05 11:39:36 -07:00