equip-compare: keep both tooltips clamped to screen

This commit is contained in:
shagu
2025-03-18 19:04:25 +01:00
parent b7314a767c
commit 20bc17b55b
+3
View File
@@ -143,6 +143,9 @@ module.enable = function(self)
[INVTYPE_THROWN] = "RangedSlot",
}
ShoppingTooltip1:SetClampedToScreen(true)
ShoppingTooltip2:SetClampedToScreen(true)
local function ShowCompare(tooltip)
-- abort if shift is not pressed
if not IsShiftKeyDown() then