refactor(ui): own retained controller lifetimes

This commit is contained in:
Erik 2026-07-10 23:35:26 +02:00
parent 921c388e2c
commit 5d9e98c118
21 changed files with 373 additions and 35 deletions

View file

@ -10,10 +10,10 @@ namespace AcDream.App.UI;
public interface IRetainedPanelController : IDisposable
{
/// <summary>Called once for each hidden-to-shown transition.</summary>
void OnShown();
void OnShown() { }
/// <summary>Called once for each shown-to-hidden transition.</summary>
void OnHidden();
void OnHidden() { }
/// <summary>
/// Called when keyboard focus enters, leaves, or moves within this window.