diff --git a/src/backend/MainBackend.cpp b/src/backend/MainBackend.cpp index 7799dfe..e6ae467 100644 --- a/src/backend/MainBackend.cpp +++ b/src/backend/MainBackend.cpp @@ -269,7 +269,7 @@ void MainBackend::m_MainLoop() { size = viewport->WorkSize; } - MainFrontend::Instance()->Display(m_CurrentFrame, ImVec2(0,0), size); + MainFrontend::Instance()->Display(m_CurrentFrame, pos, size); ScriptingEngine::Instance()->FinishIfRequired(); diff --git a/src/frontend/MainFrontend.cpp b/src/frontend/MainFrontend.cpp index 09ea3a7..7feea9f 100644 --- a/src/frontend/MainFrontend.cpp +++ b/src/frontend/MainFrontend.cpp @@ -155,7 +155,7 @@ void MainFrontend::Display(const uint32_t& vCurrentFrame, const ImVec2& vPos, co ProjectFile::Instance()->SetProjectChange(); } - DrawDialogsAndPopups(vCurrentFrame, ImRect(m_DisplayPos, m_DisplaySize), context_ptr, {}); + DrawDialogsAndPopups(vCurrentFrame, ImRect(ImVec2(0,0), m_DisplaySize), context_ptr, {}); ImGuiThemeHelper::Instance()->Draw(); LayoutManager::Instance()->InitAfterFirstDisplay(io.DisplaySize); @@ -732,8 +732,8 @@ void MainFrontend::IWantToCloseTheApp() { /////////////////////////////////////////////////////// void MainFrontend::JustDropFiles(int count, const char** paths) { - assert(0); - + EZ_TOOLS_DEBUG_BREAK; + /* std::map dicoFont; std::string prj; @@ -762,6 +762,7 @@ void MainFrontend::JustDropFiles(int count, const char** paths) { if (!prj.empty()) { MainBackend::Instance()->NeedToLoadProject(prj); } + */ } ////////////////////////////////////////////////////////////////////////////////// diff --git a/src/headers/LogToGraphBuild.h b/src/headers/LogToGraphBuild.h index 881479d..125ea87 100644 --- a/src/headers/LogToGraphBuild.h +++ b/src/headers/LogToGraphBuild.h @@ -1,7 +1,7 @@ #pragma once #define LogToGraph_Prefix "LogToGraph" -#define LogToGraph_BuildNumber 1053 +#define LogToGraph_BuildNumber 1056 #define LogToGraph_MinorNumber 2 #define LogToGraph_MajorNumber 0 -#define LogToGraph_BuildId "0.2.1053" +#define LogToGraph_BuildId "0.2.1056"