api: don't set hit insets during combat lockdown

This commit is contained in:
shagu
2019-07-19 16:36:14 +02:00
parent 0fc6537950
commit 84a1bd1052
+1 -1
View File
@@ -825,7 +825,7 @@ function pfUI.api.CreateBackdrop(f, inset, legacy, transp, backdropSetting)
f:SetBackdropBorderColor(er, eg, eb , ea)
else
-- increase clickable area if available
if f.SetHitRectInsets then
if f.SetHitRectInsets and ( not InCombatLockdown or not InCombatLockdown()) then
f:SetHitRectInsets(-border,-border,-border,-border)
end