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
@@ -11,6 +11,7 @@ import {
$thoughtsContainer,
$inventoryContainer
} from '../../core/state.js';
import { i18n } from '../../core/i18n.js';
/**
* Toggles the visibility of plot buttons based on settings.
@@ -92,6 +93,7 @@ export function updateCollapseToggleIcon() {
*/
export function setupCollapseToggle() {
const $collapseToggle = $('#rpg-collapse-toggle');
$collapseToggle.attr('title', i18n.getTranslation('template.mainPanel.collapseExpand'));
const $panel = $('#rpg-companion-panel');
const $icon = $collapseToggle.find('i');