Skip to content

Commit 569fe60

Browse files
committed
fix unsaved dialog position
1 parent 9cced08 commit 569fe60

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

src/backend/MainBackend.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ void MainBackend::m_MainLoop() {
269269
size = viewport->WorkSize;
270270
}
271271

272-
MainFrontend::Instance()->Display(m_CurrentFrame, ImVec2(0,0), size);
272+
MainFrontend::Instance()->Display(m_CurrentFrame, pos, size);
273273

274274
ScriptingEngine::Instance()->FinishIfRequired();
275275

src/frontend/MainFrontend.cpp

+4-3
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ void MainFrontend::Display(const uint32_t& vCurrentFrame, const ImVec2& vPos, co
155155
ProjectFile::Instance()->SetProjectChange();
156156
}
157157

158-
DrawDialogsAndPopups(vCurrentFrame, ImRect(m_DisplayPos, m_DisplaySize), context_ptr, {});
158+
DrawDialogsAndPopups(vCurrentFrame, ImRect(ImVec2(0,0), m_DisplaySize), context_ptr, {});
159159

160160
ImGuiThemeHelper::Instance()->Draw();
161161
LayoutManager::Instance()->InitAfterFirstDisplay(io.DisplaySize);
@@ -732,8 +732,8 @@ void MainFrontend::IWantToCloseTheApp() {
732732
///////////////////////////////////////////////////////
733733

734734
void MainFrontend::JustDropFiles(int count, const char** paths) {
735-
assert(0);
736-
735+
EZ_TOOLS_DEBUG_BREAK;
736+
/*
737737
std::map<std::string, std::string> dicoFont;
738738
std::string prj;
739739
@@ -762,6 +762,7 @@ void MainFrontend::JustDropFiles(int count, const char** paths) {
762762
if (!prj.empty()) {
763763
MainBackend::Instance()->NeedToLoadProject(prj);
764764
}
765+
*/
765766
}
766767

767768
//////////////////////////////////////////////////////////////////////////////////

src/headers/LogToGraphBuild.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#pragma once
22

33
#define LogToGraph_Prefix "LogToGraph"
4-
#define LogToGraph_BuildNumber 1053
4+
#define LogToGraph_BuildNumber 1056
55
#define LogToGraph_MinorNumber 2
66
#define LogToGraph_MajorNumber 0
7-
#define LogToGraph_BuildId "0.2.1053"
7+
#define LogToGraph_BuildId "0.2.1056"

0 commit comments

Comments
 (0)