Skip to content

[BUG] Lock View settings not rendering in scene configuration window (Foundryborne/Daggerheart) #152

@greedyj4ck

Description

@greedyj4ck

Setup

  • OS: Windows 11
  • Browser: Foundry App
  • Module version: 2.0.2
  • Foundry version: 13.351]
  • Gaming system & version: Foundryborne/Daggerheart 1.7.0
  • Any other modules enabled: No

Describe the bug
Lock View settings are not being rendered in scene settings window. Other functionality still works (scene configurator / using toolbar buttons).

Screenshots

Image

Console Log

overrides.js:194 Uncaught (in promise) TypeError: Cannot read properties of null (reading 'addEventListener')
[Detected 2 packages: LockView(2.0.2), lib-wrapper(1.13.4.0)]
at 🎁foundry.applications.sheets.SceneConfig.prototype._onRender#LockView (overrides.js:194:72)
at 🎁call_wrapper [as call_wrapper] (libWrapper-wrapper.js:639:16)
at 🎁foundry.applications.sheets.SceneConfig.prototype._onRender#0 (libWrapper-wrapper.js:193:20)
at DhSceneConfigSettings._doEvent (foundry.mjs:27926:30)
at #render (foundry.mjs:27263:16)
at async #try (foundry.mjs:7169:17)

Additional context
Issue is related to Daggerheart system. Probably due to system utilizing custom Scene Configuration Settings object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions