Fix Chromium devtools

This commit is contained in:
Nicola
2020-10-23 18:12:03 +02:00
parent f8a140cdf6
commit eb14841bfd
+10 -5
View File
@@ -51,12 +51,17 @@ namespace Client2020
if (key == (int)Keys.F5)
{
browser.Reload(true);
}
if (key == (int)Keys.F12)
browser.ShowDevTools();
}
if (key == (int)Keys.F12)
{
WindowInfo wi = new WindowInfo();
wi.SetAsPopup(this.Handle, "DevTools");
browser.ShowDevTools(wi);
}
//wi.SetAsChild(this.Handle);
if (key == (int)Keys.F10)
ShowPopup("chrome://gpu/");