mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Removed animation cache from dialogs widget on instant clear search.
This commit is contained in:
parent
ee6dbdced6
commit
18c1e7ac60
1 changed files with 3 additions and 0 deletions
|
@ -3265,6 +3265,9 @@ bool Widget::applySearchState(SearchState state) {
|
|||
_openedForum && _searchState.inChat);
|
||||
}
|
||||
if (!_searchState.inChat && _searchState.query.isEmpty()) {
|
||||
if (!_widthAnimationCache.isNull()) {
|
||||
stopWidthAnimation();
|
||||
}
|
||||
setInnerFocus();
|
||||
} else if (!_subsectionTopBar) {
|
||||
_search->setFocus();
|
||||
|
|
Loading…
Add table
Reference in a new issue