diff options
author | John Preston <johnprestonmail@gmail.com> | 2023-02-02 22:10:44 +0400 |
---|---|---|
committer | John Preston <johnprestonmail@gmail.com> | 2023-02-02 22:10:44 +0400 |
commit | 37cf12f06e0338ecf3b7d8b5c20532a76383f432 (patch) | |
tree | f2721f6de22a83a6e8ca259cc26c1ecaec29bce0 | |
parent | fa4b538e6f6d3d4932f77cd6d9f551acd3b4c65a (diff) |
Beta version 4.5.9: Fix new window position.v4.5.9
-rw-r--r-- | Telegram/SourceFiles/window/main_window.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Telegram/SourceFiles/window/main_window.cpp b/Telegram/SourceFiles/window/main_window.cpp index a38ed598de..2e2e8c9fec 100644 --- a/Telegram/SourceFiles/window/main_window.cpp +++ b/Telegram/SourceFiles/window/main_window.cpp @@ -653,8 +653,8 @@ WindowPosition MainWindow::nextInitialChildPosition(bool primary) { const auto use = position + (skip * _lastChildIndex); return withScreenInPosition({ .scale = cScale(), - .x = position.x(), - .y = position.y(), + .x = use.x(), + .y = use.y(), .w = width, .h = height, }); |