Fix for sheet losing scroll position

This commit is contained in:
TJ 2021-01-19 16:34:47 -06:00
parent e7fe448447
commit f42fae640b

View file

@ -33,10 +33,10 @@ export default class ActorSheet5e extends ActorSheet {
static get defaultOptions() { static get defaultOptions() {
return mergeObject(super.defaultOptions, { return mergeObject(super.defaultOptions, {
scrollY: [ scrollY: [
".inventory .inventory-list", ".inventory .group-list",
".features .inventory-list", ".features .group-list",
".powerbook .inventory-list", ".powerbook .group-list",
".effects .inventory-list" ".effects .effects-list"
], ],
tabs: [{navSelector: ".tabs", contentSelector: ".sheet-body", initial: "description"}] tabs: [{navSelector: ".tabs", contentSelector: ".sheet-body", initial: "description"}]
}); });