1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-26 22:46:53 -04:00

New: Shift-click range selection for Series Editor

This commit is contained in:
Mark McDowall
2014-12-08 23:40:06 -08:00
parent fc4170c581
commit b4c6284fae
4 changed files with 54 additions and 7 deletions
+1 -5
View File
@@ -27,7 +27,7 @@ define(
return;
}
if (e.shiftKey) {
if (e.shiftKey && this.model.episodeCollection.lastToggled) {
this._selectRange();
return;
@@ -41,10 +41,6 @@ define(
var episodeCollection = this.model.episodeCollection;
var lastToggled = episodeCollection.lastToggled;
if (!lastToggled) {
return;
}
var currentIndex = episodeCollection.indexOf(this.model);
var lastIndex = episodeCollection.indexOf(lastToggled);