mirror of
https://github.com/Qz3rK/tdesktop.git
synced 2026-07-03 14:15:08 +02:00
Ignore shortcuts when preview is shown.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user