mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-03-29 18:30:17 +01:00
Fix DevTools inspect element at (issue #2115)
This commit is contained in:
parent
bab532b35b
commit
c6838d8ca8
@ -211,7 +211,7 @@ void CefDevToolsFrontend::DocumentAvailableInMainFrame() {
|
||||
if (agent_host != agent_host_) {
|
||||
agent_host_ = agent_host;
|
||||
agent_host_->AttachClient(this);
|
||||
if (inspect_element_at_.IsEmpty()) {
|
||||
if (!inspect_element_at_.IsEmpty()) {
|
||||
agent_host_->InspectElement(
|
||||
this, inspect_element_at_.x, inspect_element_at_.y);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user