Skip to content

Commit

Permalink
Merge pull request #220 from sdenec/0.4.10
Browse files Browse the repository at this point in the history
0.4.10
  • Loading branch information
sdenec authored Jan 17, 2021
2 parents 3e60329 + abca098 commit 630b89f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 9 deletions.
9 changes: 7 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,18 @@ Additional Translations generously provided by:

Thank you very much!

*Version 0.4.8*
- fix for ability rolls
*Version 0.4.10*


*Version 0.4.9*
- no more flicker on ability mods
- no more errors when opening actors from compendiums
- limited sheet now shows correct appearance description
- css fix for lists in item description

*Version 0.4.8*
- fix for ability roll errors

*Version 0.4.7*
- french translation update and localization fixes thanks Github @Nildran
- tried to fix strange hover behaviour of ability mods
Expand Down
3 changes: 1 addition & 2 deletions src/scripts/app/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export const tidy5eSettings = function () {
});

// PC Sheet Settings
/*

game.settings.register("tidy5e-sheet", "hideClassList", {
name: `${game.i18n.localize("TIDY5E.Settings.PcLabel")}: ${game.i18n.localize("TIDY5E.Settings.HideClassList.name")}`,
hint: game.i18n.localize("TIDY5E.Settings.HideClassList.hint"),
Expand Down Expand Up @@ -334,7 +334,6 @@ export const tidy5eSettings = function () {
default: false,
type: Boolean
});
*/


// NPC Sheet Settings
Expand Down
10 changes: 5 additions & 5 deletions src/scripts/tidy5e-sheet.js
Original file line number Diff line number Diff line change
Expand Up @@ -290,11 +290,11 @@ async function editProtection(app, html, data) {

} else if(!actor.getFlag('tidy5e-sheet', 'allow-edit')){

if(game.settings.get("tidy5e-sheet", "totalEditLock")){
console.log('Sheet is blocked from editing');
html.find('input, select').prop('disabled', true);
html.find('[contenteditable]').prop('contenteditable', false);
}
// if(game.settings.get("tidy5e-sheet", "totalEditLock")){
// console.log('Sheet is blocked from editing');
// html.find('input, select').prop('disabled', true);
// html.find('[contenteditable]').prop('contenteditable', false);
// }

let itemContainer = html.find('.inventory-list.items-list, .effects-list.items-list');
html.find('.inventory-list .items-header:not(.spellbook-header), .effects-list .items-header').each(function(){
Expand Down

0 comments on commit 630b89f

Please sign in to comment.