Add style pin feature for greeting messages

This commit is contained in:
Cohee
2025-05-04 17:48:36 +03:00
parent bb9fe64652
commit ca29de4704
4 changed files with 72 additions and 1 deletions

View File

@@ -97,6 +97,7 @@ import {
forceCharacterEditorTokenize,
applyPowerUserSettings,
generatedTextFiltered,
applyStylePins,
} from './scripts/power-user.js';
import {
@@ -1920,6 +1921,7 @@ export async function showMoreMessages(messagesToLoad = null) {
$('#chat').scrollTop(newHeight - prevHeight);
}
applyStylePins();
await eventSource.emit(event_types.MORE_MESSAGES_LOADED);
}
@@ -1957,6 +1959,7 @@ export async function printMessages() {
hideSwipeButtons();
showSwipeButtons();
scrollChatToBottom();
applyStylePins();
function incrementAndCheck() {
imagesLoaded++;