fixes, support for Dark UI Spawnmenu

This commit is contained in:
worldspawn 2017-06-02 17:09:23 -06:00
parent 5c52574eec
commit 498d6b0e67
2 changed files with 12 additions and 1 deletions

View File

@ -121,4 +121,14 @@ hook.Add("PlayerInitialSpawn","Themer.ColorTweaks",function()
timer.Simple(0,function()
ColorHack()
end)
end)
end)
hook.Remove("ForceDermaSkin", "CISKIN.Force")
if hook.GetTable()["OnGamemodeLoaded"] and hook.GetTable()["OnGamemodeLoaded"]["CreateMenuBar"] then
local oldCreateMenuBar = oldCreateMenuBar or hook.GetTable()["OnGamemodeLoaded"]["CreateMenuBar"]
hook.Add( "OnGamemodeLoaded", "CreateMenuBar", function()
ColorHack()
oldCreateMenuBar()
end)
end

View File

@ -124,6 +124,7 @@ local function About(panel)
title:SetText("Themer")
title:SizeToContents()
title:DockMargin(8,8,8,8)
title:SetColor(panel:GetSkin().Colours.Label.Dark)
local github = panel:Button("GitHub")
github:SetIcon("icon16/world_link.png")