DevTools: [SSP] fix Ctrl-Click navigation over selector

The codemirror got frozen because selection from its
input text area was stolen via "add new property" editing functionality.

BUG=402838
R=apavlov, vsevik

Review URL: https://codereview.chromium.org/476893002

git-svn-id: svn://svn.chromium.org/blink/trunk@180343 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 4cbacb88
......@@ -1596,6 +1596,7 @@ WebInspector.StylePropertiesSection.prototype = {
var rawLocation = new WebInspector.CSSLocation(target, this.rule.styleSheetId, this.rule.sourceURL, this.rule.lineNumberInSource(index), this.rule.columnNumberInSource(index));
var uiLocation = WebInspector.cssWorkspaceBinding.rawLocationToUILocation(rawLocation);
WebInspector.Revealer.reveal(uiLocation);
event.consume(true);
return;
}
this._startEditingOnMouseEvent();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment