View Tokens Over SimpleFog

Type: Module Update Short Description: Fix the Z layering behaviour in SimpleFog Long Description: As detailed in https://github.com/League-of-Foundry-Developers/simplefog/issues/75 and https://github.com/League-of-Foundry-Developers/simplefog/issues/91, the Z layering in SimpleFog is not working: It renders on top of the whole canvas and seems to ignore the Z index setting (default 220). This means in map exploration scenarios, tokens cannot be made visible above the fog of war, even player tokens. I'm offering $50 to anyone who can patch this and either get a PR accepted or fork it and provide an alternate working Manifest URL so that SimpleFog respects layer height again. Notable code snippet from MaskLayer.js:
static get layerOptions() {
//@ts-ignore
return mergeObject(super.layerOptions, {
// ToDo: is ugly hack still needed?
// Ugly hack - render at very high zindex and then re-render at layer init with layerZindex value
zIndex: game.settings.get("simplefog", "zIndex"),
});
}
static get layerOptions() {
//@ts-ignore
return mergeObject(super.layerOptions, {
// ToDo: is ugly hack still needed?
// Ugly hack - render at very high zindex and then re-render at layer init with layerZindex value
zIndex: game.settings.get("simplefog", "zIndex"),
});
}
No description
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server