Commit 8971e3bb authored by Simpy's avatar Simpy 🐹
Browse files

dont change text for those when they are not enabled

parent 3d6a610d
...@@ -4,11 +4,15 @@ local S = E:GetModule('Skins') ...@@ -4,11 +4,15 @@ local S = E:GetModule('Skins')
local _G = _G local _G = _G
local function OnEnter(f) local function OnEnter(f)
f.text:SetTextColor(1, 1, 1) if f.selected:IsShown() or f:IsEnabled() then
f.text:SetTextColor(1, 1, 1)
end
end end
local function OnLeave(f) local function OnLeave(f)
f.text:SetTextColor(1, .8, 0) if f.selected:IsShown() or f:IsEnabled() then
f.text:SetTextColor(1, .8, 0)
end
end end
local function HandleTabButton(button) local function HandleTabButton(button)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment