diff --git a/README.md b/README.md index da10f88..8aadf25 100644 --- a/README.md +++ b/README.md @@ -115,7 +115,7 @@ this section up to date, so here is a brief summary as of June 2021: * The images in [img] are licensed under [CC BY 4.0]. * The files in [.yarn] by the [Yarn] Contributors are licensed under [BSD-2-Clause]. -* Other files are licensed under [MIT] +* Other files are licensed under [MIT]. For more accurate information, check the individual files. diff --git a/src/module/darkness-dependent-vision-config.js b/src/module/darkness-dependent-vision-config.js index 82ff9ba..6f2f0f7 100644 --- a/src/module/darkness-dependent-vision-config.js +++ b/src/module/darkness-dependent-vision-config.js @@ -20,7 +20,7 @@ export class DarknessDependentVisionConfig extends FormApplication { return foundry.utils.mergeObject(super.defaultOptions, { classes: ['darkness-dependent-vision-config'], template: `modules/darkness-dependent-vision/templates/darkness-dependent-vision-config.hbs`, - width: 520, + width: 480, height: 'auto', }); } diff --git a/src/module/hooks/init.js b/src/module/hooks/init.js index c7f66f2..35039af 100644 --- a/src/module/hooks/init.js +++ b/src/module/hooks/init.js @@ -21,7 +21,7 @@ function onInit() { logger.warn(`Failed to override ${dimRadiusTarget}, some things might not work correctly:`, e); } - const brightRadiusTarget = 'Token.prototype.dimRadius'; + const brightRadiusTarget = 'Token.prototype.brightRadius'; try { libWrapper.register(packageName, brightRadiusTarget, getBrightRadius, 'OVERRIDE'); } catch (e) {