diff --git a/isometric-park-fna/UI/BudgetWindow.cs b/isometric-park-fna/UI/BudgetWindow.cs --- a/isometric-park-fna/UI/BudgetWindow.cs +++ b/isometric-park-fna/UI/BudgetWindow.cs @@ -39,8 +39,7 @@ if ((mouseCur.LeftButton == ButtonState.Released) && (mousePrev.LeftButton == ButtonState.Pressed) && MathUtils.BetweenExclusive(mouseCur.X, width+x-20, width+x) - && MathUtils.BetweenExclusive(mouseCur.Y, y+bar_height, y+bar_height+20) - ) { + && MathUtils.BetweenExclusive(mouseCur.Y, y+bar_height, y+bar_height+20)) { return false; diff --git a/isometric-park-fna/UI/NewsWindow.cs b/isometric-park-fna/UI/NewsWindow.cs --- a/isometric-park-fna/UI/NewsWindow.cs +++ b/isometric-park-fna/UI/NewsWindow.cs @@ -113,7 +113,6 @@ } ImGui.EndTabItem(); } - ImGui.EndTabItem(); if (ImGui.BeginTabItem("The Naturalist")) { foreach (NewsItem story in content.Where(s => (s.source == "Arborist")).Take(3)) @@ -138,10 +137,9 @@ } ImGui.EndTabItem(); } + ImGui.EndTabBar(); } - ImGui.EndTabBar(); - if (ImGui.Button("Okay")) { diff --git a/isometric-park-fna/UI/StyleSets.cs b/isometric-park-fna/UI/StyleSets.cs --- a/isometric-park-fna/UI/StyleSets.cs +++ b/isometric-park-fna/UI/StyleSets.cs @@ -34,8 +34,8 @@ {ImGuiCol.FrameBg, grey}, {ImGuiCol.FrameBgHovered, grey}, {ImGuiCol.Header, darkgrey}, - {ImGuiCol.HeaderHovered, darkgrey}, - {ImGuiCol.HeaderActive, darkgrey}, + {ImGuiCol.HeaderHovered, grey}, + {ImGuiCol.HeaderActive, grey}, {ImGuiCol.ButtonHovered, grey}, {ImGuiCol.ButtonActive, darkgrey}, {ImGuiCol.SliderGrab, darkgrey},