League-of-Foundry-Developers / simplefog

A module for FoundryVTT that lets you draw fog of war manually
MIT License
18 stars 15 forks source link

Foundry v10: TypeError: activate is not a function #76

Closed ScottMaclure closed 1 year ago

ScottMaclure commented 2 years ago

Error when I click the icon on the LHS:

MaskLayer.js:399 Uncaught TypeError: (intermediate value).activate is not a function
[Detected 1 package: simplefog]
    at SimplefogLayer.activate (modules/simplefog/classes/MaskLayer.js:399)
    at SceneControls._onClickLayer (foundry.js:66647)
    at HTMLLIElement.dispatch (jquery.min.js:2)
    at HTMLLIElement.y.handle (jquery.min.js:2)