mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
chore: fix typos (#32985)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user