Misc/Fixups

* fix text vars in tooltips for missing entities
 * fix notice in weapon GS calculation
 * reduce tooltip max width slightly to prevent overlap with secondary tooltip
This commit is contained in:
Sarjuuk
2023-04-05 02:46:47 +02:00
parent e0a3c44776
commit 02239b4f74
5 changed files with 13 additions and 11 deletions

View File

@@ -1912,7 +1912,7 @@ $WH.Tooltip = {
set: function(text, text2) {
var _ = $WH.Tooltip.tooltip;
_.style.maxWidth = '350px';
_.style.maxWidth = '320px';
// _.style.width = '550px';
_.style.left = '-2323px';
_.style.top = '-2323px';
@@ -1933,7 +1933,7 @@ $WH.Tooltip = {
$WH.Tooltip.showSecondary = true;
var _ = $WH.Tooltip.tooltip2;
_.style.maxWidth = '350px';
_.style.maxWidth = '320px';
// _.style.width = '550px';
_.style.left = '-2323px';
_.style.top = '-2323px';