Fix medical PDA/health analyzer long range intel bug (#31879)

* hide spriteview from health analyzer while inactive

* add out of range indicator if analyzer becomes inactive

* hide out of range icon if there is no patient data
This commit is contained in:
goet
2024-09-21 07:54:48 +02:00
committed by GitHub
parent c5d62ce751
commit 24ed1f71f6
3 changed files with 3 additions and 0 deletions

View File

@@ -73,6 +73,8 @@ namespace Content.Client.HealthAnalyzer.UI
// Patient Information
SpriteView.SetEntity(target.Value);
SpriteView.Visible = msg.ScanMode.HasValue && msg.ScanMode.Value;
NoDataTex.Visible = !SpriteView.Visible;
var name = new FormattedMessage();
name.PushColor(Color.White);