Skip to content

Commit

Permalink
Hide tip popup on minimze and switching pages
Browse files Browse the repository at this point in the history
Fixes: #4462
  • Loading branch information
InfusOnWoW authored and Stanzilla committed May 23, 2023
1 parent 1be55ec commit b4ac557
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions WeakAurasOptions/OptionsFrames/OptionsFrame.lua
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ function OptionsPrivate.CreateFrame()
frame.bottomRightResizer = CreateFrameSizer(frame, commitWindowChanges, "BOTTOMRIGHT")

frame.UpdateFrameVisible = function(self)
self.tipPopup:Hide()
if self.minimized then
WeakAurasOptionsTitleText:Hide()
self.buttonsContainer.frame:Hide()
Expand Down Expand Up @@ -386,6 +387,7 @@ function OptionsPrivate.CreateFrame()
tipPopup:SetBackdropColor(0, 0, 0, 0.8)
--tipPopup:SetHeight(100)
tipPopup:Hide()
frame.tipPopup = tipPopup

local tipPopupTitle = tipPopup:CreateFontString(nil, "BACKGROUND", "GameFontNormalLarge")
tipPopupTitle:SetPoint("TOPLEFT", tipPopup, "TOPLEFT", 10, -10)
Expand Down

0 comments on commit b4ac557

Please sign in to comment.