minor bugfix in prev/next screen action...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2013-12-20 06:44:29 +04:00
parent b8d3cfde4d
commit 5924774477

View File

@ -820,10 +820,10 @@ function prevImage(n){
function nextScreenImages(){
return nextImage(Math.round(getScreenWidthInImages()))
return nextImage(Math.floor(getScreenWidthInImages())-1)
}
function prevScreenImages(){
return prevImage(Math.round(getScreenWidthInImages()))
return prevImage(Math.floor(getScreenWidthInImages())-1)
}