From 4d7c776ecda0bc8f0e58b4738ef9e91c4217ca97 Mon Sep 17 00:00:00 2001 From: RossAsscends <124905043+RossAscends@users.noreply.github.com> Date: Sat, 18 Mar 2023 23:24:18 +0900 Subject: [PATCH] fixed R swipe highlighting to work when mid-gen --- public/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/script.js b/public/script.js index 107ede82c..97c0d1762 100644 --- a/public/script.js +++ b/public/script.js @@ -2706,7 +2706,7 @@ function showSwipeButtons() { currentMessage.children('.swipe_right').css('opacity', '0.3'); } //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'); currentMessage.children('.swipe_right').css('opacity', '0.7'); }