Skip to content

Commit

Permalink
1.12.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorako committed Feb 23, 2023
1 parent 0576121 commit 370d484
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.12.6

- (Refinement) Treat pf2e-bb like pf2e-av, which should exclude its journals from Dalvyn's CRB-styling, but keep the Dorako UI journal frame.

# 1.12.5.1

- (SWADE) Finally for reals exluded SWPF sheets once and for all. Thanks, Pinnacle Entertainment Group!
Expand Down
4 changes: 2 additions & 2 deletions modules/base-theme-hooks.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ Hooks.on("renderApplication", (app, html, data) => {
console.debug(
`${MODULE_NAME} | render${app.constructor.name} | matches premiumModuleSelector => do not add .dorako-ui`
);
if (html0.matches(".pf2e-av")) {
console.debug(`${MODULE_NAME} | render${app.constructor.name} | matches pf2e-av => add .dorako-ui anyway`);
if (html0.matches(".pf2e-av") || html0.matches(".pf2e-bb")) {
console.debug(`${MODULE_NAME} | render${app.constructor.name} | matches pf2e-av/bb => add .dorako-ui anyway`);
html0.classList.add("dorako-ui");
}
return;
Expand Down
2 changes: 1 addition & 1 deletion modules/consts.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const baseThemeApplications = [...baseThemeCoreFoundryApplications,...bas
export const darkThemeCompatibleApplications = [...darkThemeCompatibleCoreFoundryApplications, ...darkThemeCompatibleModuleApplications, ...darkThemeCompatiblePf2eApplications, ...dorakoUiApplications]

// prettier-ignore
export const premiumModuleSelector = ".swpf-sheet, .swpf-wrapper, .pf2e-av, .gatewalkers-wrapper, .gatewalkers, .outlaws-wrapper, .outlaws, .bloodlords-wrapper, .bloodlords, .kingmaker-wrapper, .kingmaker"; //
export const premiumModuleSelector = ".swpf-sheet, .swpf-wrapper, .pf2e-av, .pf2e-bb, .gatewalkers-wrapper, .gatewalkers, .outlaws-wrapper, .outlaws, .bloodlords-wrapper, .bloodlords, .kingmaker-wrapper, .kingmaker"; //
// SWPFSheet
// SWPFJournalSheet

Expand Down

0 comments on commit 370d484

Please sign in to comment.