Magic Targets 2

Magic Targets 2

104k Downloads

Frame moves when bars appear & disappear after draging the "Raid Targets" frame

GammaSioux opened this issue ยท 0 comments

commented

After moving the Raid Targets frame at least once during the current "reload" session in Wow Cataclysm. The frame enters in a strange behavior of moving upward and downward when bars appear & disappear.

To fix it, the current modification shown below in the OnDrafStop() function has been done.

function mod:OnDragStop()
    --mod:SavePosition()
    mod.frame:StopMovingOrSizing()
    mod:SavePosition()
    mod:LoadPosition()
end

With that modification, the Raid Targets frame doesnt move any more after having been moved during the "reload" session and is following the supposed intended behavior.