settings styling and sound disabled not working bugfix
This commit is contained in:
@@ -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(
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user