mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Add style pin feature for greeting messages
This commit is contained in:
@@ -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++;
|
||||
|
Reference in New Issue
Block a user