mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-14 20:51:07 +01:00
Start on settings data model for template presets
This commit is contained in:
parent
554bc53dd8
commit
596e149968
5 changed files with 66 additions and 4 deletions
|
|
@ -108,9 +108,8 @@ export default class DhTemplateLayer extends foundry.canvas.layers.TemplateLayer
|
|||
if (game.activeTool) {
|
||||
ui.controls.activate("toggles");
|
||||
}
|
||||
// if (CONFIG.ux.TemplateManager.getActivePreview()) {
|
||||
// return;
|
||||
// }
|
||||
const settings = game.settings.get(CONFIG.DH.id, CONFIG.DH.SETTINGS.gameSettings.PresetTemplate);
|
||||
console.log("settings", settings);
|
||||
const { width, height } = game.canvas.scene.dimensions;
|
||||
const data = {
|
||||
x: width / 2,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue