We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b302be commit e386f46Copy full SHA for e386f46
Alpha/Services/WindowManagerService.cs
@@ -76,8 +76,7 @@ private void Draw(GuiService.GuiScene scene) {
76
var attr = windowType.GetCustomAttribute<WindowAttribute>()!;
77
if (!attr.ShowInMenu) continue;
78
79
- var isOpen = this.windows.Any(w => w.Window.GetType() == windowType && w.Window.IsOpen);
80
- if (ImGui.MenuItem(attr.Name, string.Empty, isOpen)) {
+ if (ImGui.MenuItem(attr.Name, string.Empty, false)) {
81
if (attr.SingleInstance) {
82
var instanceWindow =
83
this.windows
0 commit comments