]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Minor improvements & fixes to Shuttle Console UI (#31623)
authoreoineoineoin <github@eoinrul.es>
Sat, 23 Nov 2024 06:55:09 +0000 (06:55 +0000)
committerGitHub <noreply@github.com>
Sat, 23 Nov 2024 06:55:09 +0000 (17:55 +1100)
commitbdf4a46edf6dc0f457f0aebafdfbd181e3f2efb2
treeea0883d8f3f1550cd891575e7382a617be9345e8
parenta42bacd3a94b515ee594b2ee39e331b3e6f0b318
Minor improvements & fixes to Shuttle Console UI (#31623)

* Fix grids and docks being culled from display prematurely

* Fix inconsistent disabling of "Undock" buttons

* Add a radar icon to indicate where the controlling console is

* Tidy up math

Remove lots of sketchy transforms-of-transforms, which should have been
as single matrix multiply. Assign proper names to matrices. Remove some
redundant calculations.

* Feedback
Content.Client/Shuttles/UI/BaseShuttleControl.xaml.cs
Content.Client/Shuttles/UI/NavScreen.xaml.cs
Content.Client/Shuttles/UI/ShuttleConsoleWindow.xaml.cs
Content.Client/Shuttles/UI/ShuttleDockControl.xaml.cs
Content.Client/Shuttles/UI/ShuttleNavControl.xaml.cs