From 5b0ad9ec4df1b80fa5f77fea5657f2e351364145 Mon Sep 17 00:00:00 2001 From: John Preston Date: Sun, 21 Feb 2021 08:07:43 +0400 Subject: [PATCH] Revert "Take in account device pixel ratio when setting window extents" This reverts commit d44f076f0baeb7696d19ddb6a8fce17c860c0a9f. --- Telegram/SourceFiles/window/window_title_qt.cpp | 2 +- Telegram/lib_ui | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Telegram/SourceFiles/window/window_title_qt.cpp b/Telegram/SourceFiles/window/window_title_qt.cpp index 4815dc082..7063d3f29 100644 --- a/Telegram/SourceFiles/window/window_title_qt.cpp +++ b/Telegram/SourceFiles/window/window_title_qt.cpp @@ -144,7 +144,7 @@ void TitleWidgetQt::updateWindowExtents() { if (hasShadow()) { Ui::Platform::SetWindowExtents( window()->windowHandle(), - resizeArea() * cIntRetinaFactor()); + resizeArea()); _extentsSet = true; } else if (_extentsSet) { diff --git a/Telegram/lib_ui b/Telegram/lib_ui index 492121950..cf3975366 160000 --- a/Telegram/lib_ui +++ b/Telegram/lib_ui @@ -1 +1 @@ -Subproject commit 492121950da14615bfab6e6c9b4415a50899ddde +Subproject commit cf3975366630de43a9a5b25d1a68c0fb6404291a