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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user