master
AlmTech Software 5 years ago
parent 6140e7bf77
commit 58c2688777
  1. 2
      gamemode/engine/derma/lib/cl_menu_fade.lua
  2. 1
      gamemode/engine/derma/menus/menu_character.lua

@ -29,7 +29,7 @@ function fade.menuTransition( parent, dt, delay, inColor, isBlur, startFunc, end
p:SetPos( 0, 0 )
p.Paint = function( self, w, h )
if( isBlur ) then theme.renderBlur( self, Lerp( self.frac, 0, 4 ), Lerp( self.frac, 0, 8 ) ) end -- render blur
if( isBlur ) then theme.renderblur( self, Lerp( self.frac, 0, 4 ), Lerp( self.frac, 0, 8 ) ) end -- render blur
surface.SetDrawColor( color )
surface.SetAlphaMultiplier( self.frac )

@ -10,6 +10,7 @@ local menu = {}
local snm = Quantum.Client.Menu.GetAPI( "net" )
local page = Quantum.Client.Menu.GetAPI( "page" )
local theme = Quantum.Client.Menu.GetAPI( "theme" )
local fade = Quantum.Client.Menu.GetAPI( "fade" )
local resScale = Quantum.Client.ResolutionScale
local sw, sh = ScrW(), ScrH()

Loading…
Cancel
Save