fix(ui): cache ghost opacity updates to state changes

This commit is contained in:
Kelsi 2026-03-14 08:31:08 -07:00
parent cebca9a882
commit 800862c50a
2 changed files with 17 additions and 0 deletions

View file

@ -621,6 +621,9 @@ private:
float resurrectFlashTimer_ = 0.0f;
static constexpr float kResurrectFlashDuration = 3.0f;
bool ghostStateCallbackSet_ = false;
bool ghostOpacityStateKnown_ = false;
bool ghostOpacityLastState_ = false;
uint32_t ghostOpacityLastInstanceId_ = 0;
void renderResurrectFlash();
// Zone discovery text ("Entering: <ZoneName>")