From ab40cd52b25e2d113ca00135fb58de73134b25ae Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sun, 23 Oct 2016 03:55:42 +0300 Subject: [PATCH] a really odd bugfix... Signed-off-by: Alex A. Naanou --- ui (gen4)/features/app.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui (gen4)/features/app.js b/ui (gen4)/features/app.js index d3b89aa7..b3d18580 100755 --- a/ui (gen4)/features/app.js +++ b/ui (gen4)/features/app.js @@ -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