Thread: CTMod 2.0 Bugs
View Single Post
12-08-06, 05:03 PM   #19
Teclador
A Defias Bandit
Join Date: Dec 2006
Posts: 3
CT_Core Module Chat

Hi,

i have an 2 problems with the ChatMenuButtons.
There are 4 Buttons (Bottom, Up, Down and let me say the BubbleButton).

>Prob1
When i Loggin i always miss the BubbleButton and to bring it back i must open CT_Core Mod and enable/disable the ChatArrows.

>Actuall Code
Code:
-- Chat Arrows

local hide = true;
local menuButton = _G.ChatFrameMenuButton;

-- Generic function to toggle a given ChatFrame's buttons
local function toggleButtons(self, hide)
	local name = self:GetName();
	if ( hide ) then
		_G[name.."BottomButton"]:Hide();
		_G[name.."UpButton"]:Hide();
		_G[name.."DownButton"]:Hide();
	else
		_G[name.."BottomButton"]:Show();
		_G[name.."UpButton"]:Show();
		_G[name.."DownButton"]:Show();
	end
end
>Should be Code (Notice, that i have not the correct spelling for the BubbleButton)
Code:
-- Chat Arrows

local hide = true;
local menuButton = _G.ChatFrameMenuButton;

-- Generic function to toggle a given ChatFrame's buttons
local function toggleButtons(self, hide)
	local name = self:GetName();
	if ( hide ) then
		_G[name.."BottomButton"]:Hide();
		_G[name.."UpButton"]:Hide();
		_G[name.."DownButton"]:Hide();
		_G[name.."BubbleButton"]:Hide();
	else
		_G[name.."BottomButton"]:Show();
		_G[name.."UpButton"]:Show();
		_G[name.."DownButton"]:Show();
		_G[name.."BubbleButton"]:Show();
	end
end
>Prob2
The other problem is, i use the UI_Scale in the WoW_Grafik_Menu to get more on my screen. But this inflicts the BubbleButton in a crasy way, the Button overlay the BottomButton.

Last edited by Teclador : 12-08-06 at 05:10 PM.
  Reply With Quote