From b96fdbfa20791fa645d826e8c8e24477cd4195ac Mon Sep 17 00:00:00 2001 From: Georgi Gerganov Date: Fri, 1 Jan 2021 16:33:09 +0200 Subject: [PATCH] ggwave-gui : fix status bar height --- examples/ggwave-gui/common.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/ggwave-gui/common.cpp b/examples/ggwave-gui/common.cpp index 53caca4..2862c63 100644 --- a/examples/ggwave-gui/common.cpp +++ b/examples/ggwave-gui/common.cpp @@ -727,7 +727,7 @@ void renderMain() { const auto sendButtonText = ICON_FA_PLAY_CIRCLE " Send"; const double tShowKeyboard = 0.2f; #if defined(IOS) || defined(ANDROID) - const float statusBarHeight = displaySize.x < displaySize.y ? 10.0f + 2.0f*style.ItemSpacing.y : 0.1f; + const float statusBarHeight = displaySize.x < displaySize.y ? 2.0f*style.ItemSpacing.y : 0.1f; #else const float statusBarHeight = 0.1f; #endif @@ -1473,6 +1473,4 @@ void renderMain() { void deinitMain(std::thread & worker) { g_isRunning = false; worker.join(); - - GGWave_deinit(); }