Skip to content

Commit

Permalink
Update cached scroll offset for inactive tabs when updating chat text…
Browse files Browse the repository at this point in the history
…. Fixes bug where inactive tabs wouldn't scroll to the bottom on new chat.
  • Loading branch information
ethanmoffat committed Sep 14, 2022
1 parent 482bc66 commit a15932c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions EndlessClient/HUD/Chat/ChatPanelTab.cs
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ protected override void OnUpdateControl(GameTime gameTime)
}
else
{
_cachedScrollOffset = Math.Max(0, _renderables.Count - 7);
_label.ForeColor = Color.White;
}
}
Expand Down

0 comments on commit a15932c

Please sign in to comment.