Bug 663778 - Box Model Highlighter r=jwalker

This commit is contained in:
Michael Ratcliffe
2014-03-13 21:36:48 +00:00
parent 2e943c9d37
commit 07faa00a6b
12 changed files with 587 additions and 316 deletions

View File

@@ -165,7 +165,7 @@ MarkupView.prototype = {
},
_onMouseLeave: function() {
this._hideBoxModel();
this._hideBoxModel(true);
if (this._hoveredNode) {
this._containers.get(this._hoveredNode).hovered = false;
}
@@ -176,8 +176,8 @@ MarkupView.prototype = {
this._inspector.toolbox.highlighterUtils.highlightNodeFront(nodeFront, options);
},
_hideBoxModel: function() {
this._inspector.toolbox.highlighterUtils.unhighlight();
_hideBoxModel: function(forceHide) {
this._inspector.toolbox.highlighterUtils.unhighlight(forceHide);
},
_briefBoxModelTimer: null,