Skip to content

Commit

Permalink
Fix bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
jopeek committed Sep 20, 2023
1 parent 61c967c commit e54d74e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 17 deletions.
12 changes: 12 additions & 0 deletions css/dndbeyond-character-sheet.css
Original file line number Diff line number Diff line change
Expand Up @@ -929,6 +929,18 @@
padding: 6px 0 4px 0;
}

.dndbcs.sheet.actor .inventory-list .item-summary,
.dndbcs.sheet.actor .actions-list .item-summary,
.dndbcs.sheet.actor .features-list .item-summary,
.dndbcs.sheet.actor .spellbook-list .item-summary {
flex: 0 0 100%;
font-size: 12px;
line-height: 16px;
padding: 0.25em 0.5em;
color: #191813;
border-top: 1px solid #c9c7b8;
}

.dndbcs.sheet .features-list .item-detail input[type="text"] {
width: 10px;
}
Expand Down
16 changes: 1 addition & 15 deletions dndbeyond-character-sheet.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ class DNDBeyondCharacterSheet5e extends dnd5e.applications.actor.ActorSheet5eCha
/* -------------------------------------------- */

activateListeners(html) {
super.activateListeners(html);
let searchInput = html.find(".filter-search input");
searchInput.on("input", function() {
filterInventoryList(this, html);
Expand Down Expand Up @@ -170,20 +171,5 @@ Hooks.on('ready', () => {
console.log("DNDBeyond-Character-Sheet | Better Rolls 5e module not installed - no big deal, carry on!");
}

// searchInput.on("blur", async function() {
// console.log("here?");
// let id = $(this).attr("id"), value = $(this).val();
// switch (id) {
// case "item-search":
// await actor2.setFlag(CONSTANTS.MODULE_ID, "item-search", value);
// break;
// case "spell-search":
// await actor2.setFlag(CONSTANTS.MODULE_ID, "spell-search", value);
// break;
// case "feat-search":
// await actor2.setFlag(CONSTANTS.MODULE_ID, "feat-search", value);
// break;
// }
// });

});
4 changes: 2 additions & 2 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
],
"compatibility": {
"minimum": "11",
"verified": "11.308",
"verified": "11.309",
"maximum": "11"
},
"url": "https://github.com/jopeek/fvtt-dndbeyond-character-sheet",
"version": "11.230.4",
"version": "11.230.5",
"esmodules": [
"/dndbeyond-character-sheet.js"
],
Expand Down

0 comments on commit e54d74e

Please sign in to comment.