Skip to content

Commit e386f46

Browse files
committed
Even though I did a version bump I'm still committing this
1 parent 8b302be commit e386f46

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Alpha/Services/WindowManagerService.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ private void Draw(GuiService.GuiScene scene) {
7676
var attr = windowType.GetCustomAttribute<WindowAttribute>()!;
7777
if (!attr.ShowInMenu) continue;
7878

79-
var isOpen = this.windows.Any(w => w.Window.GetType() == windowType && w.Window.IsOpen);
80-
if (ImGui.MenuItem(attr.Name, string.Empty, isOpen)) {
79+
if (ImGui.MenuItem(attr.Name, string.Empty, false)) {
8180
if (attr.SingleInstance) {
8281
var instanceWindow =
8382
this.windows

0 commit comments

Comments
 (0)