From 93d2e433330dc361b5ca7013ba4b05c3c361b7d8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 17 Mar 2014 19:11:53 +0300 Subject: fix about button moving on window resize. --- src/client.cpp | 3 +++ src/localconsts.h | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/client.cpp b/src/client.cpp index 24a10574e..afb4c236b 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -2837,6 +2837,9 @@ void Client::resizeVideo(int actualWidth, x -= mThemesButton->getWidth() + mButtonSpacing; mThemesButton->setPosition(x, mButtonPadding); + x -= mAboutButton->getWidth() + mButtonSpacing; + mAboutButton->setPosition(x, mButtonPadding); + x -= mHelpButton->getWidth() + mButtonSpacing; mHelpButton->setPosition(x, mButtonPadding); #ifdef ANDROID diff --git a/src/localconsts.h b/src/localconsts.h index f9f9f4ba0..92c36d92a 100644 --- a/src/localconsts.h +++ b/src/localconsts.h @@ -95,7 +95,7 @@ // #define ANDROID_LOG 1 // profiler -#define USE_PROFILER 1 +// #define USE_PROFILER 1 // draw calls // #define DEBUG_DRAW_CALLS 1 -- cgit v1.2.3-70-g09d2