Fix scroll not updating properly

This commit is contained in:
Redox 2024-04-07 19:38:11 +02:00 committed by GitHub
parent c8bf4d4849
commit 88b9f24713
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 )