Correction compendiums
This commit is contained in:
@@ -30,6 +30,7 @@ export class CDELoksyuApp extends foundry.applications.api.HandlebarsApplication
|
||||
actions: {
|
||||
resetElement: CDELoksyuApp.#onResetElement,
|
||||
resetAll: CDELoksyuApp.#onResetAll,
|
||||
zoomVisual: CDELoksyuApp.#onZoomVisual,
|
||||
},
|
||||
}
|
||||
|
||||
@@ -121,4 +122,11 @@ export class CDELoksyuApp extends foundry.applications.api.HandlebarsApplication
|
||||
for (const k of KEYS) data[k] = { yin: 0, yang: 0 }
|
||||
await setLoksyuData(data)
|
||||
}
|
||||
|
||||
static #onZoomVisual(_event, target) {
|
||||
new ImagePopout(target.src, {
|
||||
title: game.i18n.localize("CDE.LoksyuDiagramTitle"),
|
||||
shareable: false,
|
||||
}).render(true)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user