Commit graph

18 commits

Author SHA1 Message Date
B_Kirill
f5d967135b
Fix EntityMenu not removing entities when sprite becomes invisible (#44849)
* Fix EntityMenu not removing entities when sprite becomes invisible

* horse

---------

Co-authored-by: Princess Cheeseballs <66055347+Princess-Cheeseballs@users.noreply.github.com>
2026-07-25 07:27:49 +00:00
Thomas
e5c6c88350
Fix Context Menus Not Orphaning Correctly (#44085)
The change to remove DisposeAllChildren in favor of RemoveAllChildren
didn't account for the fact that some controls have custom Dispose
behavior that wasn't getting triggered correctly.

I fixed it by switching it to ExitedTree + Orphan, which made it
magically work again
2026-06-29 22:19:21 +10:00
Pieter-Jan Briers
5168b5f3d4
IoC source gen compatibility (#43863)
* IoC source gen compatibility

Can be merged before or after https://github.com/space-wizards/RobustToolbox/pull/6549 doesn't really matter.

* Missed a spot
2026-05-09 03:29:58 +00:00
LordCarve
a3ddba6f42
Cleanup - Use RemoveAllChildren() over DisposeAllChildren() (#39848)
* Content - change the (should-be-obsolete) DisposeAllChildren into the more robust RemoveAllChildren.

* Remove duplicate calls.

---------

Co-authored-by: ElectroJr <leonsfriedrich@gmail.com>
2025-09-23 15:40:48 +12:00
Tayrtahn
a9f7cfbcb6
Update UIControllers to use Log (#37792)
Update UIControllers to use Log
2025-05-28 12:50:31 -04:00
metalgearsloth
7cb6b5e972
Verb tweaks (#31309)
* Verb tweaks

Remove the LOS check because this is already done above in CanExamine.

* Fix outlines

* import
2024-08-25 22:05:39 +10:00
Plykiya
a03b88979e
Replace obsolete xform.ToMap() with xformSystem.ToMapCoordinates() (#30010)
* Get rid of a bunch of obsolete usages

* position

---------

Co-authored-by: plykiya <plykiya@protonmail.com>
2024-07-13 23:05:22 +02:00
Tayrtahn
f4cb02fb0c
Code cleanup: Purge calls to obsolete EntityCoordinates methods (#26292)
* Purge calls to obsolete EntityCoordinates methods

* Pizza defruited; rerun those tests!
2024-03-21 12:59:56 +11:00
Pieter-Jan Briers
68ce53ae17
Random spontaneous cleanup PR (#25131)
* Use new Subs.CVar helper

Removes manual config OnValueChanged calls, removes need to remember to manually unsubscribe.

This both reduces boilerplate and fixes many issues where subscriptions weren't removed on entity system shutdown.

* Fix a bunch of warnings

* More warning fixes

* Use new DateTime serializer to get rid of ISerializationHooks in changelog code.

* Get rid of some more ISerializationHooks for enums

* And a little more

* Apply suggestions from code review

Co-authored-by: 0x6273 <0x40@keemail.me>

---------

Co-authored-by: 0x6273 <0x40@keemail.me>
2024-02-13 16:48:39 -05:00
Kot
9b97c7f2f2
Fix entity menu grouping and sorting (#24243)
* Group entity menu by the displayed name instead of by the prototype

* Sort entity menu by the displayed name (with label) in current culture
2024-01-19 09:18:53 +11:00
metalgearsloth
5a0fc68be2
Content update for NetEntities (#18935) 2023-09-11 09:42:41 +10:00
metalgearsloth
68480af109
Update content vectors to numerics (#17759) 2023-07-08 14:08:32 +10:00
08A
3b90a6357a
Refactor context menu UI (#14334) 2023-03-13 14:51:36 -04:00
Alexis Ehret
42e8bfb127
Refactor EntityMenuUIController.AddToUI 2023-02-21 15:08:42 +01:00
Alexis Ehret
d060e1e9af
Fix entity group menu
Before this commit the entity submenu was always the submenu of the
first entity in the group. Now the submenu is uniq to the current entity
selected.
2023-02-21 14:13:05 +01:00
Leon Friedrich
1ae1207ab8
Fix nested context menu popup (#13578)
Fixes https://github.com/space-wizards/space-station-14/issues/13565
2023-01-18 17:15:52 +11:00
Leon Friedrich
5761ba8e05
Fix verb menu not loading (#13454) 2023-01-13 19:59:10 -06:00
Kara
45da85fec6
Context menu UI backend refactor & better UX (#13318)
closes https://github.com/space-wizards/space-station-14/issues/9209
2023-01-07 19:24:52 -08:00
Renamed from Content.Client/ContextMenu/UI/EntityMenuPresenter.cs (Browse further)