last-in-context indicator ignores system messages

This commit is contained in:
RossAscends
2023-05-02 22:51:38 +09:00
parent 0dee00570c
commit fa8eb12d43
2 changed files with 2 additions and 2 deletions

View File

@ -1727,7 +1727,7 @@ async function Generate(type, automatic_trigger, force_name2) {
$("#chat").children().removeClass('lastInContext'); $("#chat").children().removeClass('lastInContext');
console.log(arrMes.length); console.log(arrMes.length);
$(`#chat .mes:nth-last-child(${arrMes.length})`).addClass('lastInContext'); $(`#chat .mes:nth-last-child(${arrMes.length} of :not([is_system="true"])`).addClass('lastInContext');
break; break;
} }

View File

@ -3957,7 +3957,7 @@ body.waifuMode #avatar_zoom_popup {
} }
.lastInContext { .lastInContext {
border-top: 5px dashed var(--SmartThemeQuoteColor) !important; border-top: 3px dotted var(--SmartThemeQuoteColor) !important;
} }
@media screen and (max-width: 1000px) and (orientation: landscape) { @media screen and (max-width: 1000px) and (orientation: landscape) {