Emmanuel Hansen
1 month ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
3 additions and
0 deletions
-
src/Avalonia.Controls/TopLevel.cs
|
|
|
@ -290,6 +290,9 @@ namespace Avalonia.Controls |
|
|
|
|
|
|
|
_backGestureSubscription = _inputManager?.PreProcess.Subscribe(e => |
|
|
|
{ |
|
|
|
if (e.Root != this) |
|
|
|
return; |
|
|
|
|
|
|
|
bool backRequested = false; |
|
|
|
|
|
|
|
if (e is RawKeyEventArgs rawKeyEventArgs && rawKeyEventArgs.Type == RawKeyEventType.KeyDown) |
|
|
|
|