From 06a6cac4a30e1c688b82067226da567e549ab4f1 Mon Sep 17 00:00:00 2001 From: Cody Swendrowski Date: Fri, 31 Jul 2020 22:50:55 -0500 Subject: [PATCH] Show sceneless IC chat when toggled --- README.md | 4 ++++ module.json | 4 ++-- tabbed-chatlog.js | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 8d76040..476292e 100644 --- a/README.md +++ b/README.md @@ -16,3 +16,7 @@ Splits the Chatlog into In Character (per scene), Rolls (per scene), and Out of Added notifications for new messages in inactive tabs. Fixed new messages showing up incorrectly. + +### v1.2.0 + +In Character messages without a scene attached will now show on the IC tab when toggled \ No newline at end of file diff --git a/module.json b/module.json index aff249e..6f7be26 100644 --- a/module.json +++ b/module.json @@ -2,7 +2,7 @@ "name": "tabbed-chatlog", "title": "Tabbed Chatlog", "description": "Splits the Chatlog into In Character (per scene), Rolls (per scene), and Out of Character (global).", - "version": "1.1.3", + "version": "1.2.0", "minimumCoreVersion": "0.6.2", "compatibleCoreVersion": "0.6.0", "author": "Cody Swendrowski ", @@ -24,5 +24,5 @@ ], "url": "https://github.com/cswendrowski/FoundryVTT-tabbed-chatlog", "manifest": "https://github.com/cswendrowski/FoundryVTT-tabbed-chatlog/releases/download/latest/module.json", - "download": "https://github.com/cswendrowski/FoundryVTT-tabbed-chatlog/releases/download/1.1.3/module.zip" + "download": "https://github.com/cswendrowski/FoundryVTT-tabbed-chatlog/releases/download/1.2.0/module.zip" } diff --git a/tabbed-chatlog.js b/tabbed-chatlog.js index 20317ec..100f64d 100644 --- a/tabbed-chatlog.js +++ b/tabbed-chatlog.js @@ -50,8 +50,10 @@ Hooks.on("renderChatLog", async function(chatLog, html, user) { $(".type1").hide(); $(".type2.scene" + game.user.viewedScene).removeClass("hardHide"); $(".type2.scene" + game.user.viewedScene).show(); + $(".type2").not(".scenespecific").show(); $(".type3.scene" + game.user.viewedScene).removeClass("hardHide"); $(".type3.scene" + game.user.viewedScene).show(); + $(".type3").not(".scenespecific").show(); $(".type4").hide(); $(".type5").hide();