Browse Source
Merge pull request #3099 from AvaloniaUI/fixes/3098-carousel-overrides
Don't override key/pointer events in Carousel.
pull/2916/head
Jumar Macato
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
0 additions and
12 deletions
-
src/Avalonia.Controls/Carousel.cs
|
|
|
@ -84,17 +84,5 @@ namespace Avalonia.Controls |
|
|
|
--SelectedIndex; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/// <inheritdoc/>
|
|
|
|
protected override void OnKeyDown(KeyEventArgs e) |
|
|
|
{ |
|
|
|
// Ignore key presses.
|
|
|
|
} |
|
|
|
|
|
|
|
/// <inheritdoc/>
|
|
|
|
protected override void OnPointerPressed(PointerPressedEventArgs e) |
|
|
|
{ |
|
|
|
// Ignore pointer presses.
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|