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 9cc824b7538c809813e0b79de20e8689cc68ab22..a7718901fe4d8859101f9d9268b86280c7c14ee9 100644 |
--- a/Source/devtools/front_end/elements/ElementsTreeOutline.js |
+++ b/Source/devtools/front_end/elements/ElementsTreeOutline.js |
@@ -350,6 +350,8 @@ WebInspector.ElementsTreeOutline.prototype = { |
if (this._suppressRevealAndSelect) |
return; |
+ this._updateModifiedNodes(); |
+ |
if (!this._includeRootDOMNode && node === this.rootDOMNode && this.rootDOMNode) |
node = this.rootDOMNode.firstChild; |
if (!node) |
@@ -920,6 +922,17 @@ WebInspector.ElementsTreeElement.prototype = { |
} |
}, |
+ /** |
+ * @param {boolean} inClipboard |
+ */ |
+ setInClipboard: function(inClipboard) |
+ { |
+ if (this._inClipboard === inClipboard) |
+ return; |
+ this._inClipboard = inClipboard; |
+ this.listItemElement.classList.toggle("in-clipboard", inClipboard); |
+ }, |
+ |
get hovered() |
{ |
return this._hovered; |