mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
a really odd bugfix...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
e6a26104c3
commit
ab40cd52b2
@ -78,8 +78,8 @@ var AppControlActions = actions.Actions({
|
||||
}
|
||||
|
||||
// place on center of the screen...
|
||||
var x = win.x = (W - w)/2
|
||||
var y = win.y = (H - h)/2
|
||||
var x = win.x = Math.round((W - w)/2)
|
||||
var y = win.y = Math.round((H - h)/2)
|
||||
|
||||
if(s){
|
||||
win.zoomLevel = s
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user