Fix NPE and other small issues with the new image view
This commit is contained in:
parent
3d44416016
commit
0d98776d54
4 changed files with 18 additions and 6 deletions
|
@ -1157,8 +1157,11 @@ FileTreeBase.prototype.populateAndDraw_ = function() {
|
|||
}
|
||||
|
||||
this.root_ = this.nodeMap_[''];
|
||||
this.root_.x0 = 0;
|
||||
this.root_.y0 = 0;
|
||||
if (this.root_) {
|
||||
this.root_.x0 = 0;
|
||||
this.root_.y0 = 0;
|
||||
}
|
||||
|
||||
this.toggle_(this.root_);
|
||||
this.update_(this.root_);
|
||||
};
|
||||
|
|
Reference in a new issue