Skip to content

Commit

Permalink
Commit from GitHub Actions (Run Code Linter)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Feb 10, 2025
1 parent 4ff26f5 commit c7bafe0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bridge/core/dom/events/event_target.cc
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,8 @@ NativeValue EventTarget::HandleDispatchEventFromDart(int32_t argc, const NativeV
GetExecutingContext()->dartIsolateContext()->profiler()->FinishTrackSteps();

auto* result = new EventDispatchResult{.canceled = dispatch_result == DispatchEventResult::kCanceledByEventHandler,
.propagationStopped = event->propagationStopped(), .preventDefaulted = event->defaultPrevented()};
.propagationStopped = event->propagationStopped(),
.preventDefaulted = event->defaultPrevented()};
return NativeValueConverter<NativeTypePointer<EventDispatchResult>>::ToNativeValue(result);
}

Expand Down
2 changes: 1 addition & 1 deletion bridge/core/events/mouse_event.cc
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ MouseEvent::MouseEvent(ExecutingContext* context, const AtomicString& type, Nati
: UIEvent(context, type, &native_mouse_event->native_event),
// alt_key_(native_mouse_event->altKey),
button_(native_mouse_event->button),
// buttons_(native_mouse_event->buttons),
// buttons_(native_mouse_event->buttons),
client_x_(native_mouse_event->clientX),
client_y_(native_mouse_event->clientY),
// ctrl_key_(native_mouse_event->ctrlKey),
Expand Down

0 comments on commit c7bafe0

Please sign in to comment.