From dcac8252f3b3a6b3272f79da7f3f46448c139dbb Mon Sep 17 00:00:00 2001 From: SoundSSGood <87084363+SoundSSGood@users.noreply.github.com> Date: Sun, 23 Apr 2023 14:57:45 +0300 Subject: [PATCH] fixed windows positions --- client/windows/CKingdomInterface.cpp | 4 ++-- client/windows/CTradeWindow.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/client/windows/CKingdomInterface.cpp b/client/windows/CKingdomInterface.cpp index 1a8d514fe..ee9144f9c 100644 --- a/client/windows/CKingdomInterface.cpp +++ b/client/windows/CKingdomInterface.cpp @@ -826,7 +826,7 @@ public: background = std::make_shared("OVSLOT", 4); pos = background->pos; for(int i=0; i<9; i++) - arts.push_back(std::make_shared(Point(270+i*48, 65))); + arts.push_back(std::make_shared(Point(269+i*48, 66))); } }; @@ -846,7 +846,7 @@ public: btnLeft = std::make_shared(Point(269, 66), "HSBTNS3", CButton::tooltip(), 0); btnRight = std::make_shared(Point(675, 66), "HSBTNS5", CButton::tooltip(), 0); for(int i=0; i<8; i++) - arts.push_back(std::make_shared(Point(295+i*48, 65))); + arts.push_back(std::make_shared(Point(294+i*48, 66))); } }; diff --git a/client/windows/CTradeWindow.cpp b/client/windows/CTradeWindow.cpp index 1ebb09272..d7a343aea 100644 --- a/client/windows/CTradeWindow.cpp +++ b/client/windows/CTradeWindow.cpp @@ -389,7 +389,7 @@ void CTradeWindow::initItems(bool Left) } else //ARTIFACT_EXP { - xOffset = -363; + xOffset = -365; yOffset = -12; }