Add 'Always Show Thought Bubble' setting
- New setting in Display Options to auto-expand thought bubble - When enabled, thought bubble displays immediately without clicking icon - Checkbox added to settings modal with descriptive help text - Default is off to maintain current behavior
This commit is contained in:
@@ -978,9 +978,16 @@ export function createThoughtPanel($message, thoughtsArray) {
|
||||
right: 'auto' // Clear any right positioning
|
||||
});
|
||||
|
||||
// Initially hide the panel and show the icon
|
||||
$thoughtPanel.hide();
|
||||
$thoughtIcon.show();
|
||||
// Check if always show bubble is enabled
|
||||
if (extensionSettings.alwaysShowThoughtBubble) {
|
||||
// Always show panel, hide icon
|
||||
$thoughtPanel.show();
|
||||
$thoughtIcon.hide();
|
||||
} else {
|
||||
// Initially hide the panel and show the icon
|
||||
$thoughtPanel.hide();
|
||||
$thoughtIcon.show();
|
||||
}
|
||||
|
||||
// console.log('[RPG Companion] Thought panel created at:', { top, left });
|
||||
|
||||
|
||||
Reference in New Issue
Block a user