From 414094d1139a7d122f84ed032db46027036ed5c6 Mon Sep 17 00:00:00 2001 From: MajesticWafer <123651667+MajesticWafer@users.noreply.github.com> Date: Wed, 18 Oct 2023 13:13:41 -0400 Subject: [PATCH] Update app.js --- app.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/app.js b/app.js index ebf3791..5ce8ba8 100644 --- a/app.js +++ b/app.js @@ -359,12 +359,9 @@ function uiAdjustVKLayout() { $id('vk-menu').style.position = 'fixed'; $id('vk-menu').style.transform = 'scale(0.5)'; $id('vk-menu').style.bottom = '0'; - $id('vk-menu').style.left = '0'; - - - - - + $id('vk-menu').style.left = '50%'; + $id('vk-menu').style.transformOrigin = 'bottom center'; + $id('vk-menu').style.marginLeft = '-' + (vkw / 4) + 'px'; offTop += baseSize * 0.62