Output more debug logs
This commit is contained in:
parent
115cbc1e61
commit
1b0f1b1f50
@ -418,13 +418,15 @@ FullTooltipManager.prototype = inherit(TreeStyleTabBase, {
|
|||||||
|
|
||||||
this._fullTooltipTimer = this.window.setTimeout((function() {
|
this._fullTooltipTimer = this.window.setTimeout((function() {
|
||||||
log('setup:delayed');
|
log('setup:delayed');
|
||||||
|
|
||||||
var basePosition = this.windowBasePosition;
|
var basePosition = this.windowBasePosition;
|
||||||
|
log(' => window position: ', basePosition);
|
||||||
|
|
||||||
var box = aBaseTooltip.boxObject;
|
var box = aBaseTooltip.boxObject;
|
||||||
var x = box.screenX - basePosition.x;
|
var x = box.screenX - basePosition.x;
|
||||||
var y = box.screenY - basePosition.y;
|
var y = box.screenY - basePosition.y;
|
||||||
var w = box.width;
|
var w = box.width;
|
||||||
var h = box.height;
|
var h = box.height;
|
||||||
aBaseTooltip.hidePopup();
|
|
||||||
log(' => base tooltip: ', {
|
log(' => base tooltip: ', {
|
||||||
screenX : box.screenX,
|
screenX : box.screenX,
|
||||||
screenY : box.screenY,
|
screenY : box.screenY,
|
||||||
@ -433,7 +435,8 @@ FullTooltipManager.prototype = inherit(TreeStyleTabBase, {
|
|||||||
width : w,
|
width : w,
|
||||||
height : h
|
height : h
|
||||||
});
|
});
|
||||||
log(' => basePosition: ', basePosition);
|
|
||||||
|
aBaseTooltip.hidePopup();
|
||||||
|
|
||||||
this.fill(aTab, aExtraLabels);
|
this.fill(aTab, aExtraLabels);
|
||||||
|
|
||||||
@ -534,12 +537,18 @@ FullTooltipManager.prototype = inherit(TreeStyleTabBase, {
|
|||||||
log('expandTooltip');
|
log('expandTooltip');
|
||||||
var tooltip = this.tabFullTooltip;
|
var tooltip = this.tabFullTooltip;
|
||||||
var tree = this.tree;
|
var tree = this.tree;
|
||||||
log(' => tooltip: ', {
|
{
|
||||||
x : tooltip.boxObject.screenX,
|
let basePosition = this.windowBasePosition;
|
||||||
y : tooltip.boxObject.screenY,
|
let tooltipBox = tooltip.boxObject;
|
||||||
width : tooltip.boxObject.width,
|
log(' => current tooltip position: ', {
|
||||||
height : tooltip.boxObject.height
|
screenX : tooltipBox.screenX,
|
||||||
});
|
screenY : tooltipBox.screenY,
|
||||||
|
x : tooltipBox.screenX - basePosition.x,
|
||||||
|
y : tooltipBox.screenY - basePosition.y,
|
||||||
|
width : tooltipBox.width,
|
||||||
|
height : tooltipBox.height
|
||||||
|
});
|
||||||
|
}
|
||||||
log(' => tree: ', {
|
log(' => tree: ', {
|
||||||
width : tree.clientWidth,
|
width : tree.clientWidth,
|
||||||
height : tree.clientHeight
|
height : tree.clientHeight
|
||||||
|
Loading…
x
Reference in New Issue
Block a user