mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-03 20:20:01 +00:00
api: don't set hit insets during combat lockdown
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user