add favorite keyboard shortcut
This commit is contained in:
parent
f5255724a3
commit
d9b623ab19
|
@ -136,6 +136,10 @@ function PhotoViewer(props: Iprops) {
|
|||
case 'F':
|
||||
toggleFullscreen(photoSwipe);
|
||||
break;
|
||||
case 'l':
|
||||
case 'L':
|
||||
onFavClick(photoSwipe?.currItem as EnteFile);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue