Minor tweaks

master
AlmTech Software 5 years ago
parent a6b025638a
commit ef5606d885
  1. 3
      gamemode/engine/derma/menus/menu_character.lua

@ -513,6 +513,7 @@ function menu.open( dt )
local cW, cH = c:GetSize() local cW, cH = c:GetSize()
c:SetPos( (Quantum.Client.CharMenuList.x + Quantum.Client.CharMenuList.w) - cW, Quantum.Client.CharMenuList.y + Quantum.Client.CharMenuList.h + cH ) c:SetPos( (Quantum.Client.CharMenuList.x + Quantum.Client.CharMenuList.w) - cW, Quantum.Client.CharMenuList.y + Quantum.Client.CharMenuList.h + cH )
c.Paint = function( self ) theme.sharpblurrbutton( self ) end c.Paint = function( self ) theme.sharpblurrbutton( self ) end
c:SetTextColor( Color( 255, 255, 255, 255 ) )
c.DoClick = function() c.DoClick = function()
surface.PlaySound( "UI/buttonclick.wav" ) surface.PlaySound( "UI/buttonclick.wav" )
f:Close() f:Close()
@ -619,7 +620,7 @@ function menu.open( dt )
p.dl = vgui.Create( "DButton", p ) p.dl = vgui.Create( "DButton", p )
p.dl:SetText("Delete Character") p.dl:SetText("Delete Character")
p.dl:SetFont( "q_text" ) p.dl:SetFont( "q_text" )
p.dl:SetTextColor( Color( 0, 0, 0, 255 ) ) p.dl:SetTextColor( Color( 255, 100, 100, 255 ) )
p.dl:SizeToContents() p.dl:SizeToContents()
p.dl.w, p.dl.h = p.dl:GetSize() p.dl.w, p.dl.h = p.dl:GetSize()
p.dl:SetPos( Quantum.Client.CharMenuList.x, Quantum.Client.CharMenuList.y + ( Quantum.Client.CharMenuList.h + p.dl.h ) ) p.dl:SetPos( Quantum.Client.CharMenuList.x, Quantum.Client.CharMenuList.y + ( Quantum.Client.CharMenuList.h + p.dl.h ) )

Loading…
Cancel
Save