Don't cause rerender jumps for scrollable elements (closes #131)
This commit is contained in:
parent
ec07fcfd39
commit
60797ab1e2
2 changed files with 11 additions and 1 deletions
|
|
@ -2,6 +2,17 @@ import { localizer } from "../utils/localizer.mjs";
|
|||
import DOTDUNGEON from "../config.mjs";
|
||||
|
||||
export class GenericActorSheet extends ActorSheet {
|
||||
static get defaultOptions() {
|
||||
let opts = mergeObject(
|
||||
super.defaultOptions,
|
||||
{
|
||||
scrollY: [`.scrollable`],
|
||||
}
|
||||
);
|
||||
opts.classes.push(`dotdungeon`);
|
||||
return opts;
|
||||
};
|
||||
|
||||
_expanded = new Set();
|
||||
|
||||
#propogatedSettings = [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue