Skip to content

Commit

Permalink
fix(third_section): fix third section's resize direction
Browse files Browse the repository at this point in the history
Signed-off-by: AmirReza_Ashouri <[email protected]>
  • Loading branch information
AMP999 committed May 2, 2022
1 parent 42493e4 commit 4d7e417
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Telegram/SourceFiles/mainwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2341,6 +2341,7 @@ void MainWidget::ensureThirdColumnResizeAreaCreated() {
}
auto moveLeftCallback = [=](int globalLeft) {
auto newWidth = mapToGlobal(QPoint(width(), 0)).x() - globalLeft;
newWidth = rtl() ? width() - newWidth : newWidth;
Core::App().settings().setThirdColumnWidth(newWidth);
};
auto moveFinishedCallback = [=] {
Expand Down

0 comments on commit 4d7e417

Please sign in to comment.