docs: fix spelling errors in code comments (#45842)

chore: Fix typos
This commit is contained in:
co63oc 2025-02-28 19:24:00 +08:00 committed by GitHub
parent 3041fd66cd
commit 36ec9d7236
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 7 additions and 7 deletions

View file

@ -99,7 +99,7 @@ bool ElectronDesktopWindowTreeHostWin::HandleMouseEventForCaption(
// Chromium lets the OS handle caption buttons for FrameMode::SYSTEM_DRAWN but
// again this does not generate the SC_MINIMIZE, SC_MAXIMIZE, SC_RESTORE
// commands when Non-client mouse events are generated for HTCLOSE,
// HTMINBUTTON, HTMAXBUTTON. To workaround this issue, wit this delegate we
// HTMINBUTTON, HTMAXBUTTON. To workaround this issue, with this delegate we
// let chromium handle the mouse events via
// HWNDMessageHandler::HandleMouseInputForCaption instead of the OS and this
// will generate the necessary system commands to perform caption button