Remove console.log from hoverWidget

Fixes #111609
This commit is contained in:
Alex Ross 2020-12-01 15:55:48 +01:00
parent 3689660fcc
commit af5c09a10c

View file

@ -182,7 +182,6 @@ export class HoverWidget extends Widget {
} else {
const targetBottom = Math.max(...targetBounds.map(e => e.bottom));
if (targetBottom + this._hover.containerDomNode.clientHeight > window.innerHeight) {
console.log(targetBottom, this._hover.containerDomNode.clientHeight, window.innerHeight);
const targetTop = Math.min(...targetBounds.map(e => e.top));
this._anchor = AnchorPosition.ABOVE;
this._y = targetTop;