Fix a couple of small problems

This commit is contained in:
Johannes Loher 2021-06-29 22:12:03 +02:00
parent 4dec41b766
commit 2b2a7002a4
3 changed files with 3 additions and 3 deletions

View file

@ -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.

View file

@ -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',
});
}

View file

@ -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) {