Quantcast

- Fixed the target frame adjust

urnati [09-19-18 - 01:54]
- Fixed the target frame adjust
Filename
Titan/TitanMovable.lua
diff --git a/Titan/TitanMovable.lua b/Titan/TitanMovable.lua
index d180e89..14825b8 100755
--- a/Titan/TitanMovable.lua
+++ b/Titan/TitanMovable.lua
@@ -424,6 +424,12 @@ local function TitanMovableFrame_MoveFrames()
 				end
 			end
 		end
+--[[
+move_count = move_count + 1
+TitanPrint("Move "
+.." "..move_count
+)
+--]]
 		Titan_FCF_UpdateDockPosition(); -- chat
 		UpdateContainerFrameAnchors(); -- Move bags as needed
 	else
@@ -456,7 +462,7 @@ end

 --[[ Titan
 NAME: Titan_AdjustScale
-DESC: Update the bars and plug ins to the user selected scale.
+DESC: Update the bars and plugins to the user selected scale.
 VAR:  None
 OUT:  None
 NOTE:
@@ -503,6 +509,7 @@ function TitanMovable_SecureFrames()
 	if not TitanPanelAce:IsHooked(TicketStatusFrame, "Show", TitanPanel_AdjustFrames) then
 		TitanPanelAce:SecureHook(TicketStatusFrame, "Show", TitanPanel_AdjustFrames) -- HelpFrame.xml
 		TitanPanelAce:SecureHook(TicketStatusFrame, "Hide", TitanPanel_AdjustFrames) -- HelpFrame.xml
+		TitanPanelAce:SecureHook("TargetFrame_Update", TitanPanel_AdjustFrames) -- TargetFrame.lua
 		TitanPanelAce:SecureHook(MainMenuBar, "Show", TitanPanel_AdjustFrames) -- HelpFrame.xml
 		TitanPanelAce:SecureHook(MainMenuBar, "Hide", TitanPanel_AdjustFrames) -- HelpFrame.xml
 		TitanPanelAce:SecureHook(OverrideActionBar, "Show", TitanPanel_AdjustFrames) -- HelpFrame.xml