Fix saving scroll position in actor sheets

This commit is contained in:
Johannes Loher 2021-02-20 02:12:34 +01:00
parent 622253f0da
commit d31c9ac24b
4 changed files with 12 additions and 8 deletions

View file

@ -16,7 +16,14 @@ export class DS4ActorSheet extends ActorSheet<ActorSheet.Data<DS4Actor>> {
classes: ["ds4", "sheet", "actor"],
width: 745,
height: 600,
scrollY: [".sheet-body"],
scrollY: [
".inventory",
".spells",
".talents-abilities",
".profile",
".biography",
".special-creature-abilities",
],
template: superDefaultOptions.template,
viewPermission: superDefaultOptions.viewPermission,
closeOnSubmit: superDefaultOptions.closeOnSubmit,