fix: réparer les contrôles du combat tracker et la pause (v14)
This commit is contained in:
@@ -69,7 +69,7 @@ export const registerHooks = function () {
|
||||
});
|
||||
|
||||
// changement de la pause
|
||||
Hooks.on("renderGamePause", async function (element) {
|
||||
Hooks.on("renderGamePause", async function (app, element) {
|
||||
const pauseEl = element ?? document.getElementById("pause");
|
||||
if (!pauseEl || pauseEl.className !== "paused") return;
|
||||
pauseEl.querySelectorAll("img").forEach(img => {
|
||||
@@ -101,7 +101,7 @@ export const registerHooks = function () {
|
||||
title: game.i18n.localize("VERMINE.RollTool"),
|
||||
icon: 'fas fa-dice-d10',
|
||||
button: true,
|
||||
onClick() {
|
||||
onChange() {
|
||||
RollDialog.create().then(d => d.render(true));
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user