mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-11-03 12:50:09 +00:00
minor bugfix in prev/next screen action...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
b8d3cfde4d
commit
5924774477
@ -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)
|
||||
}
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user