View Single Post
09-20-18, 09:07 AM   #2
Krainz
A Wyrmkin Dreamwalker
Join Date: Oct 2016
Posts: 57
I found out that removing the kfs=true in the addSkinFrame function opts solves that

Lua Code:
  1. aObj.blizzFrames[ftype].LFGFrame = function(self)
  2.     if not self.prdb.PVEFrame or self.initialized.LFGFrame then return end
  3.     self.initialized.LFGFrame = true
  4.  
  5.     self:SecureHookScript(_G.LFGDungeonReadyPopup, "OnShow", function(this) -- a.k.a. ReadyCheck
  6.         self:addSkinFrame{obj=_G.LFGDungeonReadyStatus, ft=ftype, ofs=-5}
  7.         _G.LFGDungeonReadyDialog.instanceInfo:DisableDrawLayer("BACKGROUND")
  8.         self:skinStdButton{obj=_G.LFGDungeonReadyDialog.enterButton}
  9.         self:skinStdButton{obj=_G.LFGDungeonReadyDialog.leaveButton}
  10.         self:addSkinFrame{obj=_G.LFGDungeonReadyDialog, ft=ftype, ofs=-5}
  11.         _G.LFGDungeonReadyDialog.SetBackdrop = _G.nop
  12.  
  13.         -- RewardsFrame
  14.         _G.LFGDungeonReadyDialogRewardsFrameReward1Border:SetAlpha(0)
  15.         _G.LFGDungeonReadyDialogRewardsFrameReward2Border:SetAlpha(0)
  16.         self:addButtonBorder{obj=_G.LFGDungeonReadyDialogRewardsFrameReward1, relTo=_G.LFGDungeonReadyDialogRewardsFrameReward1.texture}
  17.         self:addButtonBorder{obj=_G.LFGDungeonReadyDialogRewardsFrameReward2, relTo=_G.LFGDungeonReadyDialogRewardsFrameReward2.texture}
  18.  
  19.         self:Unhook(this, "OnShow")
  20.     end)
  21.  
  22.     -- hook new button creation
  23.     self:RawHook("LFGRewardsFrame_SetItemButton", function(...)
  24.         local frame = self.hooks.LFGRewardsFrame_SetItemButton(...)
  25.         _G[frame:GetName() .. "NameFrame"]:SetTexture(nil)
  26.         self:addButtonBorder{obj=frame, libt=true}
  27.         return frame
  28.     end, true)
  29.  
  30.     self:SecureHookScript(_G.LFGInvitePopup, "OnShow", function(this)
  31.         self:skinStdButton{obj=_G.LFGInvitePopupAcceptButton}
  32.         self:skinStdButton{obj=_G.LFGInvitePopupDeclineButton}
  33.         self:addSkinFrame{obj=this, ft=ftype}
  34.         self:Unhook(this, "OnShow")
  35.     end)
  36.  
  37. end

End result:



How it was originally:

  Reply With Quote