mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30:09 +00:00
minor fix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
fe302afc25
commit
93cbb74a1f
@ -113,7 +113,7 @@ function zoom(factor){
|
|||||||
$('.container').css({
|
$('.container').css({
|
||||||
'zoom': zoom,
|
'zoom': zoom,
|
||||||
'top': H/2 * 1/zoom - H/2,
|
'top': H/2 * 1/zoom - H/2,
|
||||||
'left': W/2 * 1/zoom - W/2,
|
'left': W/2 * 1/zoom - W/2
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user