settings styling and sound disabled not working bugfix

This commit is contained in:
choco
2025-10-09 20:21:01 +02:00
parent cd817487e4
commit 85ecea6391
4 changed files with 990 additions and 640 deletions

View File

@@ -248,6 +248,15 @@ public class LightlessNotificationUI : WindowMediatorSubscriberBase
{
bgColor = bgColor * 1.1f;
bgColor.W = Math.Min(bgColor.W, 0.98f);
// Handle click-to-dismiss for notifications without actions
if (_configService.Current.DismissNotificationOnClick &&
!notification.Actions.Any() &&
ImGui.IsMouseClicked(ImGuiMouseButton.Left))
{
notification.IsDismissed = true;
notification.IsAnimatingOut = true;
}
}
drawList.AddRectFilled(