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

Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
trop[bot]
2021-01-05 11:44:12 +09:00
committed by GitHub
parent 9a7bda51a3
commit b710412e7b

View File

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