Commit 763cce00 authored by apavlov@chromium.org's avatar apavlov@chromium.org

DevTools: [Elements] Do update tree outlines on width change

TBR=pfeldman
BUG=363113

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

git-svn-id: svn://svn.chromium.org/blink/trunk@171479 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 464bdb37
......@@ -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();
}
......
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