mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Remove autohide and blur from individual message
This commit is contained in:
@ -793,8 +793,6 @@ function printMessages() {
|
||||
chat.forEach(function (item, i, arr) {
|
||||
addOneMessage(item);
|
||||
});
|
||||
|
||||
$('#chat .mes').addClass('auto_hide');
|
||||
}
|
||||
|
||||
function clearChat() {
|
||||
@ -940,6 +938,12 @@ function addOneMessage(mes, type = "normal", insertAfter = null) {
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
const lastMes = $('#chat .mes').last().get(0);
|
||||
const rect = lastMes.getBoundingClientRect();
|
||||
lastMes.style.containIntrinsicSize = `${rect.width}px ${rect.height}px`;
|
||||
*/
|
||||
|
||||
// Don't scroll if not inserting last
|
||||
if (!insertAfter) {
|
||||
$('#chat .mes').last().addClass('last_mes');
|
||||
|
Reference in New Issue
Block a user