2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 06:26:18 +00:00

Use rpl in some widgets and effects.

This commit is contained in:
John Preston
2017-09-13 19:57:44 +03:00
parent 21d136e224
commit c302219f9e
120 changed files with 2119 additions and 671 deletions

View File

@@ -245,7 +245,7 @@ void Widget::parentResized() {
}
void Widget::resizeUsingInnerHeight(int newWidth, int innerHeight) {
if (!App::wnd()) return;
if (!parentWidget()) return;
auto parentSize = parentWidget()->size();
auto windowWidth = parentSize.width();