RPG Companion index [done]

This commit is contained in:
Mingyu
2025-11-24 19:48:34 +08:00
committed by GitHub
parent ab33604ea0
commit 79f99a40c6
6 changed files with 42 additions and 18 deletions
+2
View File
@@ -23,6 +23,7 @@ import {
updateDiceDisplay as updateDiceDisplayCore,
addDiceQuickReply as addDiceQuickReplyCore
} from '../features/dice.js';
import { i18n } from '../../core/i18n.js';
/**
* Modern DiceModal ES6 Class
@@ -318,6 +319,7 @@ export function setupDiceRoller() {
e.stopPropagation(); // Prevent opening the dice popup
clearDiceRollCore();
});
$('#rpg-clear-dice').attr('title', i18n.getTranslation('template.mainPanel.clearLastRoll'));
return diceModal;
}