mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
chore: fix typo in electron_api_base_window.cc (#27644)
reseting -> resetting
This commit is contained in:
@@ -857,7 +857,7 @@ bool BaseWindow::GetWindowButtonVisibility() const {
|
||||
}
|
||||
|
||||
void BaseWindow::SetTrafficLightPosition(const gfx::Point& position) {
|
||||
// For backward compatibility we treat (0, 0) as reseting to default.
|
||||
// For backward compatibility we treat (0, 0) as resetting to default.
|
||||
if (position.IsOrigin())
|
||||
window_->SetTrafficLightPosition(base::nullopt);
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user