chore: fix typo in electron_api_base_window.cc (#27644)
reseting -> resetting
This commit is contained in:
parent
e87803919b
commit
b88f585066
1 changed files with 1 additions and 1 deletions
|
@ -857,7 +857,7 @@ bool BaseWindow::GetWindowButtonVisibility() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
void BaseWindow::SetTrafficLightPosition(const gfx::Point& position) {
|
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())
|
if (position.IsOrigin())
|
||||||
window_->SetTrafficLightPosition(base::nullopt);
|
window_->SetTrafficLightPosition(base::nullopt);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue