mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-12-22 03:01:39 +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(){
|
function nextScreenImages(){
|
||||||
return nextImage(Math.round(getScreenWidthInImages()))
|
return nextImage(Math.floor(getScreenWidthInImages())-1)
|
||||||
}
|
}
|
||||||
function prevScreenImages(){
|
function prevScreenImages(){
|
||||||
return prevImage(Math.round(getScreenWidthInImages()))
|
return prevImage(Math.floor(getScreenWidthInImages())-1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user