Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1403)

Unified Diff: Source/devtools/front_end/elements/ElementsTreeOutline.js

Issue 663453003: DevTools: [Elements] fix editing as HTML inplace editor scrolling (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/elements/ElementsTreeOutline.js
diff --git a/Source/devtools/front_end/elements/ElementsTreeOutline.js b/Source/devtools/front_end/elements/ElementsTreeOutline.js
index 405589795aaccc8ed52b2986b8a749da397196cb..556c9dee0e68f1fa25462e9b71bce4f2b25edd4c 100644
--- a/Source/devtools/front_end/elements/ElementsTreeOutline.js
+++ b/Source/devtools/front_end/elements/ElementsTreeOutline.js
@@ -1460,6 +1460,8 @@ WebInspector.ElementsTreeElement.prototype = {
*/
select: function(omitFocus, selectedByUser)
{
+ if (this._editing)
+ return false;
if (this.treeOutline._handlePickNode(this.title, this._node))
return true;
return TreeElement.prototype.select.call(this, omitFocus, selectedByUser);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698