Skip to content

Commit 06c4ec6

Browse files
authored
Merge pull request #187 from Stexinator/feature/save_scrollY
dont reset scrollY on re-render
2 parents 272b94f + f41e62f commit 06c4ec6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

script/sheet/actor/acolyte.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ export class AcolyteSheet extends DarkHeresySheet {
1414
contentSelector: ".sheet-body",
1515
initial: "stats"
1616
}
17-
]
17+
],
18+
scrollY: [".items"]
1819
});
1920
}
2021

script/sheet/actor/npc.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ export class NpcSheet extends DarkHeresySheet {
1414
contentSelector: ".sheet-body",
1515
initial: "stats"
1616
}
17-
]
17+
],
18+
scrollY: [".items"]
1819
});
1920
}
2021

0 commit comments

Comments
 (0)