fix: unclickable regions in some draggable BrowserViews (#27143)

This commit is contained in:
Shelley Vohr 2021-01-04 11:22:14 -08:00 committed by GitHub
parent 6d31f1ad4c
commit 29c2e2cb97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,6 @@ void NativeBrowserViewViews::UpdateDraggableRegions(
auto snapped_regions = mojo::Clone(regions); auto snapped_regions = mojo::Clone(regions);
for (auto& snapped_region : snapped_regions) { for (auto& snapped_region : snapped_regions) {
snapped_region->bounds.Offset(offset); snapped_region->bounds.Offset(offset);
snapped_region->draggable = true;
} }
draggable_region_ = DraggableRegionsToSkRegion(snapped_regions); draggable_region_ = DraggableRegionsToSkRegion(snapped_regions);