Highlight personas from current chat in popup

This commit is contained in:
Wolfsblvt
2025-01-25 18:47:53 +01:00
parent 076e5e3186
commit 2253990898
3 changed files with 31 additions and 4 deletions

View File

@@ -9994,6 +9994,7 @@ jQuery(async function () {
const message = t`The following personas are connected to the current character.\n\nClick on a persona to select it for the current character.\nShift + Click to unlink the persona from the character.`;
const selectedPersona = await askForPersonaSelection(t`Persona Connections`, message, connections, {
okButton: t`Ok`,
highlightPersonas: true,
shiftClickHandler: (element, ev) => {
const personaId = $(element).attr('data-pid');