added O for originals

This commit is contained in:
ville rantanen
2012-01-24 15:35:13 +02:00
parent 0ddcfa50ce
commit 5358e923e9

View File

@@ -546,14 +546,18 @@ function keypressed(e) {
if (currentimage>(imagelist.length-1)) { currentimage=0; } if (currentimage>(imagelist.length-1)) { currentimage=0; }
showimage(currentimage); showimage(currentimage);
} }
// x: mark image // o: originals
if (unicode==88) { if (unicode==79) {
markitem(currentimage); fliporiginalsi();
} }
// f: fullscreen // f: fullscreen
if (unicode==70) { if (unicode==70) {
flipfullscreen(); flipfullscreen();
} }
// x: mark image
if (unicode==88) {
markitem(currentimage);
}
if (slideshowinterval!=0) { if (slideshowinterval!=0) {
clearInterval(slideshowtimer); clearInterval(slideshowtimer);
slideshowtimer=setInterval('slidenext()',1000*Math.abs(slideshowinterval)); slideshowtimer=setInterval('slidenext()',1000*Math.abs(slideshowinterval));