mirror of
https://github.com/parnic/LibDogTag-Unit-3.0.git
synced 2025-06-16 13:40:13 -05:00
Merge pull request #13 from parnic/ascott/12
#12 - Add workaround to prevent guild roster from resetting scroll
This commit is contained in:
@ -69,7 +69,11 @@ end)
|
||||
|
||||
DogTag:AddTimerHandler("Unit", function(num, currentTime)
|
||||
if currentTime > nextGuildRosterUpdate then
|
||||
if IsInGuild() then
|
||||
if IsInGuild()
|
||||
-- CommunitiesFrame check workaround for
|
||||
-- https://github.com/parnic/LibDogTag-Unit-3.0/issues/12
|
||||
and (not CommunitiesFrame or not CommunitiesFrame:IsVisible())
|
||||
then
|
||||
GuildRoster()
|
||||
end
|
||||
nextGuildRosterUpdate = currentTime + 20
|
||||
|
Reference in New Issue
Block a user