honor notification window focus

This commit is contained in:
Soreepeong 2024-02-26 20:04:33 +09:00
parent 0040f61125
commit e44180d4a2
6 changed files with 74 additions and 34 deletions

View file

@ -49,7 +49,10 @@ public interface IActiveNotification : INotification
DateTime EffectiveExpiry { get; }
/// <summary>Gets a value indicating whether the mouse cursor is on the notification window.</summary>
bool IsMouseHovered { get; }
bool IsHovered { get; }
/// <summary>Gets a value indicating whether the notification window is focused.</summary>
bool IsFocused { get; }
/// <summary>Gets a value indicating whether the notification has been dismissed.</summary>
/// <remarks>This includes when the hide animation is being played.</remarks>