Fix scroll preservation in environment sheet

This commit is contained in:
Carlos Fernandez 2025-12-04 16:59:45 -05:00
parent cb10b18e06
commit 774992e480

View file

@ -37,11 +37,11 @@ export default class DhpEnvironment extends DHBaseActorSheet {
header: { template: 'systems/daggerheart/templates/sheets/actors/environment/header.hbs' }, header: { template: 'systems/daggerheart/templates/sheets/actors/environment/header.hbs' },
features: { features: {
template: 'systems/daggerheart/templates/sheets/actors/environment/features.hbs', template: 'systems/daggerheart/templates/sheets/actors/environment/features.hbs',
scrollable: ['feature-section'] scrollable: ['.feature-section']
}, },
potentialAdversaries: { potentialAdversaries: {
template: 'systems/daggerheart/templates/sheets/actors/environment/potentialAdversaries.hbs', template: 'systems/daggerheart/templates/sheets/actors/environment/potentialAdversaries.hbs',
scrollable: ['items-sections'] scrollable: ['.items-section']
}, },
notes: { template: 'systems/daggerheart/templates/sheets/actors/environment/notes.hbs' } notes: { template: 'systems/daggerheart/templates/sheets/actors/environment/notes.hbs' }
}; };