mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 06:07:06 +02:00
Ignore shortcuts when preview is shown.
This commit is contained in:
parent
4f5594c8cc
commit
aa4156d1e7
1 changed files with 2 additions and 1 deletions
|
@ -3997,7 +3997,8 @@ void InnerWidget::setupShortcuts() {
|
|||
return isActiveWindow()
|
||||
&& !_controller->isLayerShown()
|
||||
&& !_controller->window().locked()
|
||||
&& !_childListShown.current().shown;
|
||||
&& !_childListShown.current().shown
|
||||
&& !_chatPreviewKey;
|
||||
}) | rpl::start_with_next([=](not_null<Shortcuts::Request*> request) {
|
||||
using Command = Shortcuts::Command;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue