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
|
|
@ -266,7 +266,10 @@ function FlightFinderPinMixin:OnAcquired(id)
|
|||
self.Disc:SetVertexColor(0.06, 0.06, 0.08, 0.9)
|
||||
self.Ring:SetVertexColor(c[1], c[2], c[3], 1)
|
||||
self.Glyph:SetTexture(GLYPH)
|
||||
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
|
||||
|
||||
-- where a waypoint for the node goes: its zone map, since continents don't take waypoints
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue