forked from willox/gmod-keypad
Fix scroll not updating properly
This commit is contained in:
parent
c8bf4d4849
commit
88b9f24713
@ -230,7 +230,7 @@ net.Receive( "KeypadOpenConfig", function()
|
||||
for _, panel in ipairs( listLayout:GetChildren() ) do
|
||||
panel:SetVisible( true )
|
||||
end
|
||||
listLayout:InvalidateLayout()
|
||||
listLayout:InvalidateLayout( true )
|
||||
return
|
||||
end
|
||||
|
||||
@ -243,7 +243,7 @@ net.Receive( "KeypadOpenConfig", function()
|
||||
panel:SetVisible( false )
|
||||
end
|
||||
end
|
||||
listLayout:InvalidateLayout()
|
||||
listLayout:InvalidateLayout( true )
|
||||
end
|
||||
|
||||
function search:Paint( w, h )
|
||||
|
Loading…
Reference in New Issue
Block a user