fix: draggable regions with devtools open (#29696)

This commit is contained in:
Shelley Vohr 2021-06-16 18:58:30 +02:00 committed by GitHub
parent 6fd9e4280c
commit d59e2d7b2e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 25 additions and 9 deletions

View file

@ -396,6 +396,10 @@ void BrowserWindow::ResetBrowserViews() {
#endif
}
void BrowserWindow::OnDevToolsResized() {
UpdateDraggableRegions(draggable_regions_);
}
void BrowserWindow::SetVibrancy(v8::Isolate* isolate,
v8::Local<v8::Value> value) {
std::string type = gin::V8ToString(isolate, value);