fix: shift-click for multi-delete-in-a-row selects wrong images (#323)

fixes #323
This commit is contained in:
Joxit
2023-07-18 00:08:28 +02:00
parent c74a9aeaa3
commit bf9c6c82e7
3 changed files with 3 additions and 3 deletions

View File

@@ -238,7 +238,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
return selectedImage;
} else {
let shouldChange = false;
const tags = getPage(this.props.tags, this.props.page);
const tags = this.getPage(this.props.tags, this.props.page);
tags
.filter((image) => {
if (image == this.state.selectedImage || image == selectedImage) {