Skip to content

Commit

Permalink
tab animation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ImToggle committed Jan 22, 2024
1 parent b3a59fd commit f7c88fc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ private void handleSetChatLine(IChatComponent chatComponent, int chatLineId, int

private void handleChatTabMessage(IChatComponent chatComponent, int chatLineId, int updateCounter, boolean displayOnly, CallbackInfo ci) {
if (ChattingConfig.INSTANCE.getChatTabs()) {
ChatTabs.INSTANCE.setHasCancelledAnimation(!ChatTabs.INSTANCE.shouldRender(chatComponent));
if (!ChatTabs.INSTANCE.shouldRender(chatComponent)) {
ChatTabs.INSTANCE.setHasCancelledAnimation(true);
if (chatLineId != 0) {
deleteChatLine(chatLineId);
}
Expand Down

0 comments on commit f7c88fc

Please sign in to comment.