a really odd bugfix...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-10-23 03:55:42 +03:00
parent e6a26104c3
commit ab40cd52b2

View File

@ -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