Added comments

master
AlmTech 5 years ago
parent dfc6e54965
commit fcb3198cda
  1. 2
      gamemode/engine/derma/lib/cl_menu_dialogueBox.lua

@ -18,7 +18,7 @@ function log.createinfobox( title, text, parent )
box:SetSize( 775 * scale, 200 * scale ) box:SetSize( 775 * scale, 200 * scale )
box.Paint = function( self ) theme.blurpanel( self, Color( 0, 0, 0, 0 ) ) end box.Paint = function( self ) theme.blurpanel( self, Color( 0, 0, 0, 0 ) ) end
box.w, box.h = box:GetSize() box.w, box.h = box:GetSize()
box:SetPos( fw/2 - box.w/2, fh*0.8 - box.h/2 ) box:SetPos( fw/2 - box.w/2, fh*0.8 - box.h/2 ) -- fix this bug pls
box.x, box.y = box:GetSize() box.x, box.y = box:GetSize()
local header = vgui.Create( "DLabel", parent ) local header = vgui.Create( "DLabel", parent )

Loading…
Cancel
Save