Map pins: skip SetPassThroughButtons in combat
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
46fd5cb8a9
commit
25e3aa4fec
4 changed files with 20 additions and 3 deletions
|
|
@ -554,7 +554,10 @@ function ShipRoutesPinMixin:OnAcquired(kind, a, b)
|
|||
self.Label:Show()
|
||||
end
|
||||
self.Disc:SetVertexColor(0.06, 0.06, 0.08, 0.9)
|
||||
self:CheckMouseButtonPassthrough("RightButton")
|
||||
-- SetPassThroughButtons is protected in combat; a pin reused from the pool keeps its old setting
|
||||
if not InCombatLockdown() then
|
||||
self:CheckMouseButtonPassthrough("RightButton")
|
||||
end
|
||||
end
|
||||
|
||||
function ShipRoutesPinMixin:OnMouseEnter()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue