mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-10-09 10:21:18 +03:00
* icon group prototype * prototype v2 * agent id uses groups * working UI using groups * UI work, new header * formatting and misc work * fix some texture scaling * aesthetics * tabs, scrollbar, MinSize * commit * commit * commit * commit * Revert "commit" This reverts commit 8f29ae30c69670c6dc8d5fba3dd6bd98f574830d. * we're back * well enough * Final visuals for the Id (for now) * code cleaning * minor cleanup * self review * id card system changes * try index -> resolve * DisposeAllChildren -> RemoveAllChildren * fix the id cards * all pretty * unneeded * merge * Review by Fildrance * Review by Pok * fix * cleanup * refactor: revert icon setsize changes back to good old '32', made container button be resizable for localization reasons * jobIconGroup --------- Co-authored-by: iaada <iaada@users.noreply.github.com> Co-authored-by: Pok245 <113675512+Pok27@users.noreply.github.com> Co-authored-by: Fildrance <fildrance@gmail.com>
18 lines
445 B
C#
18 lines
445 B
C#
using Content.Shared.Access.Systems;
|
|
using Robust.Client.GameObjects;
|
|
|
|
namespace Content.Client.Access;
|
|
|
|
/// <inheritdoc />
|
|
public sealed partial class AgentIdCardSystem : SharedAgentIdCardSystem
|
|
{
|
|
[Dependency] private UserInterfaceSystem _ui = default!;
|
|
|
|
public override void UpdateUi(EntityUid entity)
|
|
{
|
|
if (_ui.TryGetOpenUi(entity, AgentIDCardUiKey.Key, out var bui))
|
|
{
|
|
bui.Update();
|
|
}
|
|
}
|
|
}
|