Fix context menu on desktop

pull/221/head
Varun Patil 2022-11-12 00:42:48 -08:00
parent cbdcedb91d
commit 258e62e4aa
1 changed files with 1 additions and 1 deletions

View File

@ -278,7 +278,7 @@ export default class SelectionManager extends Mixins(GlobalMixin, UserConfig) {
/** Clicking on photo */ /** Clicking on photo */
public clickPhoto(photo: IPhoto, event: any, rowIdx: number) { public clickPhoto(photo: IPhoto, event: any, rowIdx: number) {
if (photo.flag & this.c.FLAG_PLACEHOLDER) return; if (photo.flag & this.c.FLAG_PLACEHOLDER || event?.button !== 0) return;
if (this.has()) { if (this.has()) {
if (event.shiftKey) { if (event.shiftKey) {