Skip to content

Commit

Permalink
- fixed bug, when frame unit type is anchored to mouse and you move c…
Browse files Browse the repository at this point in the history
…ursor between buffs and unit frames, see https://www.curseforge.com/wow/addons/tip-tac?comment=3148
  • Loading branch information
frozn committed Nov 6, 2021
1 parent b8b0148 commit ed03fb9
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion TipTac/TipTac-BCC.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 20502
## Version: 20.11.05
## Version: 20.11.06
## Title: TipTac
## Author: Aezay (Earthen Ring EU)
## Notes: Highly Customizable Tooltip Enhancement Addon
Expand Down
2 changes: 1 addition & 1 deletion TipTac/TipTac-Classic.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 11400
## Version: 20.11.05
## Version: 20.11.06
## Title: TipTac
## Author: Aezay (Earthen Ring EU)
## Notes: Highly Customizable Tooltip Enhancement Addon
Expand Down
2 changes: 1 addition & 1 deletion TipTac/TipTac.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 90105
## Version: 20.11.05
## Version: 20.11.06
## Title: TipTac
## Author: Aezay (Earthen Ring EU)
## Notes: Highly Customizable Tooltip Enhancement Addon
Expand Down
14 changes: 7 additions & 7 deletions TipTac/ttCore.lua
Original file line number Diff line number Diff line change
Expand Up @@ -721,13 +721,13 @@ end
-- EventHook: OnShow
function gttScriptHooks:OnShow()
-- Anchor GTT to Mouse -- Az: Initial mouse anchoring is now being done in GTT_SetDefaultAnchor (remove if there are no issues)
-- gtt_anchorType, gtt_anchorPoint = GetAnchorPosition();
-- if (gtt_anchorType == "mouse") and (self.default) then
-- local gttAnchor = self:GetAnchorType();
-- if (gttAnchor ~= "ANCHOR_CURSOR") and (gttAnchor ~= "ANCHOR_CURSOR_RIGHT") then
-- tt:AnchorFrameToMouse(self);
-- end
-- end
gtt_anchorType, gtt_anchorPoint = GetAnchorPosition();
if (gtt_anchorType == "mouse") and (self.default) then
local gttAnchor = self:GetAnchorType();
if (gttAnchor ~= "ANCHOR_CURSOR") and (gttAnchor ~= "ANCHOR_CURSOR_RIGHT") then
tt:AnchorFrameToMouse(self);
end
end

-- Ensures that default anchored world frame tips have the proper color, their internal function seems to set them to a dark blue color
-- Tooltips from world objects that change cursor seems to also require this. (Tested in 8.0/BfA)
Expand Down
2 changes: 1 addition & 1 deletion TipTacItemRef/TipTacItemRef-BCC.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 20502
## Version: 20.11.05
## Version: 20.11.06
## Title: TipTacItemRef
## Author: Aezay (Earthen Ring EU)
## Notes: Improved ItemRefTooltip
Expand Down
2 changes: 1 addition & 1 deletion TipTacItemRef/TipTacItemRef-Classic.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 11400
## Version: 20.11.05
## Version: 20.11.06
## Title: TipTacItemRef
## Author: Aezay (Earthen Ring EU)
## Notes: Improved ItemRefTooltip
Expand Down
2 changes: 1 addition & 1 deletion TipTacItemRef/TipTacItemRef.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 90105
## Version: 20.11.05
## Version: 20.11.06
## Title: TipTacItemRef
## Author: Aezay (Earthen Ring EU)
## Notes: Improved ItemRefTooltip
Expand Down
2 changes: 1 addition & 1 deletion TipTacOptions/TipTacOptions-BCC.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 20502
## Version: 20.11.05
## Version: 20.11.06
## Title: TipTacOptions
## Author: Aezay (Earthen Ring EU)
## Notes: Option Dialog for TipTac
Expand Down
2 changes: 1 addition & 1 deletion TipTacOptions/TipTacOptions-Classic.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 11400
## Version: 20.11.05
## Version: 20.11.06
## Title: TipTacOptions
## Author: Aezay (Earthen Ring EU)
## Notes: Option Dialog for TipTac
Expand Down
2 changes: 1 addition & 1 deletion TipTacOptions/TipTacOptions.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 90105
## Version: 20.11.05
## Version: 20.11.06
## Title: TipTacOptions
## Author: Aezay (Earthen Ring EU)
## Notes: Option Dialog for TipTac
Expand Down
2 changes: 1 addition & 1 deletion TipTacTalents/TipTacTalents-BCC.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 20502
## Version: 20.11.05
## Version: 20.11.06
## Title: TipTacTalents
## Author: Aezay (Earthen Ring EU)
## Notes: Adds Talent Spec to Player Tooltips
Expand Down
2 changes: 1 addition & 1 deletion TipTacTalents/TipTacTalents-Classic.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 11400
## Version: 20.11.05
## Version: 20.11.06
## Title: TipTacTalents
## Author: Aezay (Earthen Ring EU)
## Notes: Adds Talent Spec to Player Tooltips
Expand Down
2 changes: 1 addition & 1 deletion TipTacTalents/TipTacTalents.toc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
## Interface: 90105
## Version: 20.11.05
## Version: 20.11.06
## Title: TipTacTalents
## Author: Aezay (Earthen Ring EU)
## Notes: Adds Talent Spec to Player Tooltips
Expand Down

0 comments on commit ed03fb9

Please sign in to comment.