From b07e1a2e1250d994a4183bb82a7f11b0fba15cae Mon Sep 17 00:00:00 2001 From: redstrate <54911369+redstrate@users.noreply.github.com> Date: Tue, 20 Apr 2021 12:59:31 -0400 Subject: [PATCH] Editor windows are now centered by default --- tools/common/src/commoneditor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/common/src/commoneditor.cpp b/tools/common/src/commoneditor.cpp index 25bc042..770368b 100755 --- a/tools/common/src/commoneditor.cpp +++ b/tools/common/src/commoneditor.cpp @@ -1059,8 +1059,8 @@ void CommonEditor::load_options() { lastOpenedFiles.push_back(file.get()); } else { - defaultX = 0; - defaultY = 0; + defaultX = -1; + defaultY = -1; defaultWidth = 1280; defaultHeight = 720; }