From 58a00e119e5227aa2ea279dfa27e4f32a311e069 Mon Sep 17 00:00:00 2001 From: pas2704 Date: Sun, 3 Aug 2025 15:22:19 -0400 Subject: [PATCH] Fix assertion for notifications --- CringePlugins/Ui/NotificationsComponent.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CringePlugins/Ui/NotificationsComponent.cs b/CringePlugins/Ui/NotificationsComponent.cs index 4abbbee..9d2192e 100644 --- a/CringePlugins/Ui/NotificationsComponent.cs +++ b/CringePlugins/Ui/NotificationsComponent.cs @@ -57,7 +57,7 @@ public sealed class NotificationsComponent : IRenderComponent Vector2 lastWinSize = Vector2.Zero; - if (ImGui.Begin($"notification-{notification.GlobalId}", ImGuiWindowFlags.NoMove | ImGuiWindowFlags.NoCollapse | ImGuiWindowFlags.NoTitleBar | ImGuiWindowFlags.NoResize | ImGuiWindowFlags.Tooltip)) + if (ImGui.Begin($"notification-{notification.GlobalId}", ImGuiWindowFlags.NoMove | ImGuiWindowFlags.NoCollapse | ImGuiWindowFlags.NoTitleBar | ImGuiWindowFlags.NoResize | ImGuiWindowFlags.Tooltip | ImGuiWindowFlags.NoDocking | ImGuiWindowFlags.NoMouseInputs | ImGuiWindowFlags.NoSavedSettings)) { notification.RenderCallback?.Invoke();