LibWeb: Don't handle media player key events if any modifier is pressed

This commit is contained in:
Tim Ledbetter 2024-09-04 04:30:44 +01:00 committed by Tim Flynn
commit a56a2faf51
Notes: github-actions[bot] 2024-09-04 14:00:43 +00:00
3 changed files with 6 additions and 3 deletions

View file

@ -109,7 +109,7 @@ public:
JS::NonnullGCPtr<TextTrack> add_text_track(Bindings::TextTrackKind kind, String const& label, String const& language);
WebIDL::ExceptionOr<bool> handle_keydown(Badge<Web::EventHandler>, UIEvents::KeyCode);
WebIDL::ExceptionOr<bool> handle_keydown(Badge<Web::EventHandler>, UIEvents::KeyCode, u32 modifiers);
enum class MouseTrackingComponent {
Timeline,