Fix scroll preservation in environment sheet (#1362)

This commit is contained in:
Carlos Fernandez 2025-12-05 17:30:50 -08:00 committed by GitHub
parent 9fa4627b19
commit e3f244d8d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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' }
}; };