mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 22:27:20 +02:00
Fix forum search open by Ctrl+F.
This commit is contained in:
parent
f09a939a7c
commit
7db9abf725
1 changed files with 2 additions and 0 deletions
|
@ -999,6 +999,7 @@ void Widget::setupShortcuts() {
|
|||
) | rpl::filter([=] {
|
||||
return isActiveWindow()
|
||||
&& Ui::InFocusChain(this)
|
||||
&& !_childList
|
||||
&& !controller()->isLayerShown()
|
||||
&& !controller()->window().locked();
|
||||
}) | rpl::start_with_next([=](not_null<Shortcuts::Request*> request) {
|
||||
|
@ -2723,6 +2724,7 @@ void Widget::openChildList(
|
|||
*opacity = value;
|
||||
update();
|
||||
_inner->update();
|
||||
_search->setVisible(value < 1.);
|
||||
if (!value && _childListShadow.get() != shadow) {
|
||||
delete shadow;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue