Skip to content

Commit

Permalink
2.3.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorako committed Jul 25, 2023
1 parent d068b5f commit 79e1dfc
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 2.3.4

- (Maintenance) Update styling so inline checks are legible in dark theme once again
- (Refinement) Update sidebar resizer functionality to also work for popped out journal directory and settings

# 2.3.3

- (Maintenance) Update to make Familiar sheets render correctly with dark theme enabled
Expand Down
22 changes: 22 additions & 0 deletions modules/sidebar-resizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,28 @@ Hooks.once("ready", function () {
},
"WRAPPER"
);
libWrapper.register(
"pf2e-dorako-ui",
"JournalDirectory.defaultOptions",
function (wrapped, ...args) {
let result = wrapped(...args);
result.resizable = true;
result.height = parseInt($("#board").css("height")) / _poppedOutSizeDenominator;
return result;
},
"WRAPPER"
);
libWrapper.register(
"pf2e-dorako-ui",
"Settings.defaultOptions",
function (wrapped, ...args) {
let result = wrapped(...args);
result.resizable = true;
result.height = parseInt($("#board").css("height")) / _poppedOutSizeDenominator;
return result;
},
"WRAPPER"
);
} else {
console.warn(`${MODULE_NAME} | libwrapper not enabled, resizing of popped-out sidebars will be limited`);
}
Expand Down
1 change: 1 addition & 0 deletions sass/_misc.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ a.content-link,
a.entity-link,
[data-pf2-action],
[data-pf2-effect-area],
a.inline-check .label,
a.inline-roll:not(.inline-result) {
color: black;
}
Expand Down
1 change: 1 addition & 0 deletions styles/dorako-ui.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion styles/dorako-ui.css.map

Large diffs are not rendered by default.

0 comments on commit 79e1dfc

Please sign in to comment.