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

Unified Diff: Source/devtools/front_end/ElementsPanel.js

Issue 235893007: DevTools: [Elements] Do update tree outlines on width change (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 8 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/ElementsPanel.js
diff --git a/Source/devtools/front_end/ElementsPanel.js b/Source/devtools/front_end/ElementsPanel.js
index 644687a8b34b54eff3181945083a12682bd8d3c8..a5ae2e2d7a668542abfe9f0a0c7642b0a02c149a 100644
--- a/Source/devtools/front_end/ElementsPanel.js
+++ b/Source/devtools/front_end/ElementsPanel.js
@@ -171,7 +171,7 @@ WebInspector.ElementsPanel.prototype = {
var width = this._splitView.element.offsetWidth;
if (this._splitView.isVertical())
width -= this._splitView.sidebarSize();
- for (var i = 0; i > this._treeOutlines.length; ++i) {
+ for (var i = 0; i < this._treeOutlines.length; ++i) {
this._treeOutlines[i].setVisibleWidth(width);
this._treeOutlines[i].updateSelection();
}
« 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