chore: fix typos (#32985)
This commit is contained in:
parent
069cde09fb
commit
1e8da899a3
14 changed files with 20 additions and 20 deletions
|
@ -48,7 +48,7 @@ std::map<int, std::unique_ptr<HWND>>& GetDialogsMap() {
|
|||
return *dialogs;
|
||||
}
|
||||
|
||||
// Speical HWND used by the dialogs map.
|
||||
// Special HWND used by the dialogs map.
|
||||
//
|
||||
// - ID is used but window has not been created yet.
|
||||
const HWND kHwndReserve = reinterpret_cast<HWND>(-1);
|
||||
|
|
|
@ -87,7 +87,7 @@ bool ElectronDesktopWindowTreeHostWin::GetClientAreaInsets(
|
|||
// Indenting the client area can fix this behavior.
|
||||
if (IsMaximized() && !native_window_view_->has_frame()) {
|
||||
// The insets would be eventually passed to WM_NCCALCSIZE, which takes
|
||||
// the metrics under the DPI of _main_ monitor instead of current moniotr.
|
||||
// the metrics under the DPI of _main_ monitor instead of current monitor.
|
||||
//
|
||||
// Please make sure you tested maximized frameless window under multiple
|
||||
// monitors with different DPIs before changing this code.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue