Skip to content

Commit

Permalink
update tellUserAboutShiftClick()
Browse files Browse the repository at this point in the history
  • Loading branch information
gamebeaker committed Sep 20, 2024
1 parent 29e987d commit 55aebbc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions plugin/js/ChapterUrlsUI.js
Original file line number Diff line number Diff line change
Expand Up @@ -422,6 +422,9 @@ class ChapterUrlsUI {
if (event.shiftKey || (ChapterUrlsUI.lastSelectedRow === null)) {
return;
}
if (ChapterUrlsUI.ConsecutiveRowClicks == 5) {
return;
}
let distance = Math.abs(row.rowIndex - ChapterUrlsUI.lastSelectedRow);
if (distance !== 1) {
ChapterUrlsUI.ConsecutiveRowClicks = 0;
Expand Down

0 comments on commit 55aebbc

Please sign in to comment.