diff --git a/source/ftpServer.cpp b/source/ftpServer.cpp index 2748225..e9318dc 100644 --- a/source/ftpServer.cpp +++ b/source/ftpServer.cpp @@ -82,7 +82,6 @@ void FtpServer::draw () #else ImGui::SetNextWindowSize (ImVec2 (width, height)); #endif - ImGui::SetNextWindowFocus (); ImGui::Begin (STATUS_STRING, nullptr, ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoResize); diff --git a/source/ftpSession.cpp b/source/ftpSession.cpp index 2c7d0fb..dcb5dd3 100644 --- a/source/ftpSession.cpp +++ b/source/ftpSession.cpp @@ -308,7 +308,11 @@ void FtpSession::draw () { auto const lock = std::scoped_lock (m_lock); - ImGui::BeginChild (m_windowName.c_str (), ImVec2 (0.0f, 50.0f), true); +#ifdef _3DS + ImGui::BeginChild (m_windowName.c_str (), ImVec2 (0.0f, 45.0f), true); +#else + ImGui::BeginChild (m_windowName.c_str (), ImVec2 (0.0f, 80.0f), true); +#endif if (!m_workItem.empty ()) ImGui::TextUnformatted (m_workItem.c_str ()); diff --git a/source/switch/imgui_nx.cpp b/source/switch/imgui_nx.cpp index 9aa4e3f..e093f65 100644 --- a/source/switch/imgui_nx.cpp +++ b/source/switch/imgui_nx.cpp @@ -1456,7 +1456,7 @@ bool loadFontAtlas () config.FontDataSize = 0; config.FontDataOwnedByAtlas = true; config.FontNo = 0; - config.SizePixels = 14.0f; + config.SizePixels = 24.0f; config.OversampleH = 3; config.OversampleV = 1; config.PixelSnapH = false; @@ -1621,7 +1621,7 @@ bool imgui::nx::init () config.FontDataOwnedByAtlas = false; for (auto const &font : fonts) { - io.Fonts->AddFontFromMemoryTTF (font.address, font.size, 14.0f, &config, nxFontRanges); + io.Fonts->AddFontFromMemoryTTF (font.address, font.size, 24.0f, &config, nxFontRanges); config.MergeMode = true; }