Fix a couple of small problems
This commit is contained in:
parent
4dec41b766
commit
2b2a7002a4
3 changed files with 3 additions and 3 deletions
|
@ -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 images in [img] are licensed under [CC BY 4.0].
|
||||||
* The files in [.yarn] by the [Yarn] Contributors are licensed under
|
* The files in [.yarn] by the [Yarn] Contributors are licensed under
|
||||||
[BSD-2-Clause].
|
[BSD-2-Clause].
|
||||||
* Other files are licensed under [MIT]
|
* Other files are licensed under [MIT].
|
||||||
|
|
||||||
For more accurate information, check the individual files.
|
For more accurate information, check the individual files.
|
||||||
|
|
||||||
|
|
|
@ -20,7 +20,7 @@ export class DarknessDependentVisionConfig extends FormApplication {
|
||||||
return foundry.utils.mergeObject(super.defaultOptions, {
|
return foundry.utils.mergeObject(super.defaultOptions, {
|
||||||
classes: ['darkness-dependent-vision-config'],
|
classes: ['darkness-dependent-vision-config'],
|
||||||
template: `modules/darkness-dependent-vision/templates/darkness-dependent-vision-config.hbs`,
|
template: `modules/darkness-dependent-vision/templates/darkness-dependent-vision-config.hbs`,
|
||||||
width: 520,
|
width: 480,
|
||||||
height: 'auto',
|
height: 'auto',
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,7 +21,7 @@ function onInit() {
|
||||||
logger.warn(`Failed to override ${dimRadiusTarget}, some things might not work correctly:`, e);
|
logger.warn(`Failed to override ${dimRadiusTarget}, some things might not work correctly:`, e);
|
||||||
}
|
}
|
||||||
|
|
||||||
const brightRadiusTarget = 'Token.prototype.dimRadius';
|
const brightRadiusTarget = 'Token.prototype.brightRadius';
|
||||||
try {
|
try {
|
||||||
libWrapper.register(packageName, brightRadiusTarget, getBrightRadius, 'OVERRIDE');
|
libWrapper.register(packageName, brightRadiusTarget, getBrightRadius, 'OVERRIDE');
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
|
Loading…
Reference in a new issue