xlib: add ability to set zpos on makepanel.

This commit is contained in:
SticklyMan 2016-02-13 16:35:30 -07:00
parent b2a22f9a2a
commit 5e4341a8d2
2 changed files with 2 additions and 1 deletions

View File

@ -282,6 +282,7 @@ function xlib.makepanel( t )
local pnl = vgui.Create( "DPanel", t.parent )
pnl:SetPos( t.x, t.y )
pnl:SetSize( t.w, t.h )
pnl:SetZPos( t.zpos or 0 )
if t.skin then pnl:SetSkin( t.skin ) end
if t.visible ~= nil then pnl:SetVisible( t.visible ) end
return pnl

View File

@ -1 +1 @@
1455391345
1455406530