* grid tables no longer clear floating elements (have an eye out if this broke something)
 * add 1px to inner tooltips so it doesn't unexpectedly line break
This commit is contained in:
Sarjuuk
2022-03-11 15:13:29 +01:00
parent 1c7acf6a08
commit e092a69175
2 changed files with 9 additions and 9 deletions

View File

@@ -1944,11 +1944,11 @@ $WH.Tooltip = {
var
tooltip = $WH.Tooltip.tooltip,
tow = $WH.Tooltip.tooltipTable.offsetWidth,
toh = $WH.Tooltip.tooltipTable.offsetHeight,
tow = $WH.Tooltip.tooltipTable.offsetWidth + 1,
toh = $WH.Tooltip.tooltipTable.offsetHeight + 1,
tt2 = $WH.Tooltip.tooltip2,
tt2w = $WH.Tooltip.showSecondary ? $WH.Tooltip.tooltipTable2.offsetWidth : 0,
tt2h = $WH.Tooltip.showSecondary ? $WH.Tooltip.tooltipTable2.offsetHeight : 0,
tt2w = $WH.Tooltip.showSecondary ? $WH.Tooltip.tooltipTable2.offsetWidth + 1 : 0,
tt2h = $WH.Tooltip.showSecondary ? $WH.Tooltip.tooltipTable2.offsetHeight + 1 : 0,
_;
tooltip.style.width = tow + 'px';
@@ -1981,11 +1981,11 @@ $WH.Tooltip = {
bakLeft = left,
bakTop = top,
tooltip = $WH.Tooltip.tooltip,
tow = $WH.Tooltip.tooltipTable.offsetWidth,
toh = $WH.Tooltip.tooltipTable.offsetHeight,
tow = $WH.Tooltip.tooltipTable.offsetWidth + 1,
toh = $WH.Tooltip.tooltipTable.offsetHeight + 1,
tt2 = $WH.Tooltip.tooltip2,
tt2w = $WH.Tooltip.showSecondary ? $WH.Tooltip.tooltipTable2.offsetWidth : 0,
tt2h = $WH.Tooltip.showSecondary ? $WH.Tooltip.tooltipTable2.offsetHeight : 0,
tt2w = $WH.Tooltip.showSecondary ? $WH.Tooltip.tooltipTable2.offsetWidth + 1 : 0,
tt2h = $WH.Tooltip.showSecondary ? $WH.Tooltip.tooltipTable2.offsetHeight + 1 : 0,
winSize = $WH.g_getWindowSize(),
scroll = $WH.g_getScroll(),
bcw = winSize.w,