mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
fixed R swipe highlighting to work when mid-gen
This commit is contained in:
@ -2706,7 +2706,7 @@ function showSwipeButtons() {
|
|||||||
currentMessage.children('.swipe_right').css('opacity', '0.3');
|
currentMessage.children('.swipe_right').css('opacity', '0.3');
|
||||||
}
|
}
|
||||||
//console.log((chat[chat.length - 1]));
|
//console.log((chat[chat.length - 1]));
|
||||||
if (is_send_press === false && (chat[chat.length - 1].swipes.length - swipeId) === 1) {
|
if ((chat[chat.length - 1].swipes.length - swipeId) === 1) {
|
||||||
console.log('highlighting R swipe');
|
console.log('highlighting R swipe');
|
||||||
currentMessage.children('.swipe_right').css('opacity', '0.7');
|
currentMessage.children('.swipe_right').css('opacity', '0.7');
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user