Skip to content

Commit

Permalink
Merge pull request #24 from bittiez/journal-ui-update
Browse files Browse the repository at this point in the history
Tabs now show which one is selected
  • Loading branch information
bittiez authored Mar 11, 2023
2 parents 7a2dd64 + 83d0ad6 commit 42e84f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ClassicUO.Client/Game/UI/Gumps/ResizableJournal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public override void OnButtonClick(int buttonID)

private void AddTab(string Name, MessageType[] filters)
{
_tab.Add(new NiceButton((_tab.Count * TAB_WIDTH) + BORDER_WIDTH, BORDER_WIDTH, TAB_WIDTH, TAB_HEIGHT, ButtonAction.Activate, Name, 1) { ButtonParameter = _tab.Count, IsSelectable = false });
_tab.Add(new NiceButton((_tab.Count * TAB_WIDTH) + BORDER_WIDTH, BORDER_WIDTH, TAB_WIDTH, TAB_HEIGHT, ButtonAction.Activate, Name, 1) { ButtonParameter = _tab.Count, IsSelectable = true });
_tabName.Add(Name);
_tabTypes.Add(filters);
}
Expand Down

0 comments on commit 42e84f5

Please sign in to comment.