Prevent the content from rerendering when it doesn't get any changes, allowing in-progress edits (closes #31)
This commit is contained in:
parent
ec5f2feb7e
commit
174aceeb91
2 changed files with 34 additions and 1 deletions
|
|
@ -14,4 +14,13 @@ export class AttributeOnlyPlayerSheet extends PlayerSheet {
|
|||
return parts;
|
||||
};
|
||||
// #endregion Options
|
||||
|
||||
// #region Lifecycle
|
||||
_configureRenderOptions(options) {
|
||||
super._configureRenderOptions(options);
|
||||
|
||||
// don't attempt to rerender the content
|
||||
options.parts = options.parts?.filter(partID => partID !== `content`);
|
||||
};
|
||||
// #endregion Lifecycle
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue