forked from wrldspawn/Themer
fixes, support for Dark UI Spawnmenu
This commit is contained in:
parent
5c52574eec
commit
498d6b0e67
@ -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
|
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user