| Index: Source/devtools/front_end/ui/Tooltip.js
|
| diff --git a/Source/devtools/front_end/ui/Tooltip.js b/Source/devtools/front_end/ui/Tooltip.js
|
| index 9a942801937eaab6053ab296c06bd97a260ee820..b48c7e02419b2576f6f6f7309dfd3e20befc688e 100644
|
| --- a/Source/devtools/front_end/ui/Tooltip.js
|
| +++ b/Source/devtools/front_end/ui/Tooltip.js
|
| @@ -101,7 +101,7 @@ WebInspector.Tooltip.prototype = {
|
| tooltipX = Number.constrain(tooltipX,
|
| containerOffset.x + pageMargin,
|
| containerOffset.x + containerOffsetWidth - tooltipWidth - pageMargin);
|
| - var onBottom = anchorBox.y + anchorOffset + anchorBox.height < containerOffset.y + containerOffsetHeight;
|
| + var onBottom = anchorBox.y + anchorOffset + anchorBox.height + tooltipHeight < containerOffset.y + containerOffsetHeight;
|
| var tooltipY = onBottom ? anchorBox.y + anchorBox.height + anchorOffset : anchorBox.y - tooltipHeight - anchorOffset;
|
| this._tooltipElement.positionAt(tooltipX, tooltipY);
|
| },
|
|
|