Skip to content

Commit

Permalink
Merge pull request #1497 from gamebeaker/tellUserAboutShiftClick-only…
Browse files Browse the repository at this point in the history
…-one-time

update tellUserAboutShiftClick()
  • Loading branch information
gamebeaker authored Sep 20, 2024
2 parents 29e987d + 55aebbc commit 2560d57
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 2560d57

Please sign in to comment.