Fix non-draggable regions on macOS (#12327)
This was a regression in 503b0ba1
.
This commit is contained in:
parent
558ef7352d
commit
6f6f388f38
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ void BrowserWindow::UpdateDraggableRegions(
|
||||||
system_drag_exclude_areas.push_back(
|
system_drag_exclude_areas.push_back(
|
||||||
gfx::Rect(0, 0, webViewWidth, webViewHeight));
|
gfx::Rect(0, 0, webViewWidth, webViewHeight));
|
||||||
} else {
|
} else {
|
||||||
CalculateNonDraggableRegions(
|
system_drag_exclude_areas = CalculateNonDraggableRegions(
|
||||||
DraggableRegionsToSkRegion(regions), webViewWidth, webViewHeight);
|
DraggableRegionsToSkRegion(regions), webViewWidth, webViewHeight);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue