]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Coordinates under IFF Label on Mass Scanners and Shuttle Consoles (#31501)
authorArchRBX <5040911+ArchRBX@users.noreply.github.com>
Thu, 19 Sep 2024 01:25:47 +0000 (02:25 +0100)
committerGitHub <noreply@github.com>
Thu, 19 Sep 2024 01:25:47 +0000 (11:25 +1000)
commit1c3cfeeb35f425cd556103e4a673c01ae16cf69d
treedf1c1ea40e346e9c9083a1dfeb25a8b343b18c3f
parent0c5a053ae4ec06ad4471884dd81aa5053522d716
Coordinates under IFF Label on Mass Scanners and Shuttle Consoles (#31501)

* adds coord label beneath iff label

* fixed wrong coordinate system being used

* changes the clamping on the label UI to instead normalise the UI's distance vector from the centre of the screen, fixes corner-hugging

* cleaned up if-statement by moving the calc ahead of it

* fixed clamping, fixed parenting issue, added draw cull on coord label

---------

Co-authored-by: archrbx <punk.gear5260@fastmail.com>
Content.Client/Shuttles/UI/ShuttleNavControl.xaml.cs