Skip to content

Commit

Permalink
Beta version 4.5.9: Fix new window position.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Feb 2, 2023
1 parent fa4b538 commit 37cf12f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Telegram/SourceFiles/window/main_window.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
});
Expand Down

0 comments on commit 37cf12f

Please sign in to comment.