TSU unit frame anchor not updated unless `index` is changed
caspervk opened this issue ยท 0 comments
Is there an existing issue for this?
- I have searched the existing open and closed issues.
Description
The following TSU should swap an icon between raid1
and raid2
on the raidframes:
function(allStates, event)
aura_env.unit = aura_env.unit == "raid1" and "raid2" or "raid1"
allStates[1] = {
show = true,
changed = true,
--index = GetTime(),
unit = aura_env.unit
}
DevTools_Dump(allStates)
return true
end
However, the code does not work unless index
is uncommented.
WeakAuras Version
WeakAuras 5.5.4
World of Warcraft Flavor
Wrath of the Lich King Classic
World of Warcraft Region
EU
Tested with only WeakAuras
- Yes
Lua Error
No response
Reproduction Steps
- Import the linked WeakAura string.
- Join a raid with at least two members.
- Start moving.
- Observe the icon not moving.
Last Good Version
No response
Screenshots
noindex.mp4
index.mp4
Export String
!WA:2!fwv3UTnYv4iOMgVmBsTLtC3KMUlRwSztATnSDIDbAq2crBjhfOi5srBzJIT2djhjoXudzMzOKTxKlQsqrUwpc66ELEdQFcgiuSpa5rWpb9mdPC(bTOxWHZCMZVZ5C(o52Ra3E9LxF5hxOBb)c(VB1HiMxnmTJi4Tl8E3iMpMzH8o2NffhpRvi5SZqmFtNOOqbjMDsJ2T5yro2PzBgJOEbrSDIiuH7MLR7u2ECQw2mkmI98C5YLpE2eoUukFy2UuI4igYtqIO8nS5cety42Mqj8adl4NWyGGr60bZ439(SST)Jr(y3K2TDongZEw5A7uz3Awc4GnkHHwBapghgw1NB8EEIlUhMkAcCtoz8HBwQPZHnDkz7yLak3noeDkMztrDXCdBnRUpdJcfbxk6ommiQDZDkxR2WeAMlym2lkmPlTzmYdN3LH8jj83(LdGGRgPlreyJcjDOYzyqmPei3iqH24oQa1yCBgyXMcgsGYBfgH8R4kqHG1wWUBc84AybXG3cYhAy7fI4C1olo5mSAZe3SCs6RA(853j)klV(Aje)XV02jz)wNTYgDFedrjDrcCWqooSToPiNXM7b2j)ipWwyM6bSynB30KuWO0)L97GJNR5RsqmSzLKWqZwbebEet79kzo3)u4jJ41HfLeNjvtW7UQ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