mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 14:45:14 +00:00
Fix render glitch in archive top bar.
This commit is contained in:
@@ -531,7 +531,7 @@ void Generator::paintDialogs() {
|
||||
auto filterLeft = _dialogs.x() + st::dialogsFilterPadding.x() + st::dialogsMenuToggle.width + st::dialogsFilterPadding.x();
|
||||
auto filterRight = st::dialogsFilterSkip + st::dialogsFilterPadding.x();
|
||||
auto filterWidth = _dialogs.x() + _dialogs.width() - filterLeft - filterRight;
|
||||
auto filterAreaHeight = st::dialogsFilterPadding.y() + st::dialogsMenuToggle.height + st::dialogsFilterPadding.y();
|
||||
auto filterAreaHeight = st::topBarHeight;
|
||||
auto filterTop = _dialogs.y() + (filterAreaHeight - st::dialogsFilter.height) / 2;
|
||||
auto filter = QRect(filterLeft, filterTop, filterWidth, st::dialogsFilter.height);
|
||||
|
||||
|
Reference in New Issue
Block a user