Skip to content

Commit e2f14e6

Browse files
committed
fix(third_section): fix third section's resize area geometry
Signed-off-by: AmirReza_Ashouri <[email protected]>
1 parent d4e819a commit e2f14e6

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Telegram/SourceFiles/mainwidget.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -2290,7 +2290,9 @@ void MainWidget::refreshResizeAreas() {
22902290
if (isThreeColumn() && _thirdSection) {
22912291
ensureThirdColumnResizeAreaCreated();
22922292
_thirdColumnResizeArea->setGeometryToLeft(
2293-
_thirdSection->x(),
2293+
(rtl()
2294+
? (width() - _thirdSection->width())
2295+
: _thirdSection->x()),
22942296
0,
22952297
st::historyResizeWidth,
22962298
height());

0 commit comments

Comments
 (0)