forked from TeamUlysses/ulx
Fix is in the works- removed reference to PR but keeping saftey check as it doesn't hurt anything.
This commit is contained in:
parent
11b3d931c6
commit
0db8007ceb
@ -42,7 +42,7 @@ end
|
||||
|
||||
local searchFilter = ""
|
||||
xbans.searchbox = xlib.maketextbox{ x=5, y=6, w=175, text="Search...", selectall=true, parent=xbans }
|
||||
local txtCol = xbans.searchbox:GetTextColor() or Color( 0, 0, 0, 255 ) -- Temp fix for https://github.com/garrynewman/garrysmod/pull/1141
|
||||
local txtCol = xbans.searchbox:GetTextColor() or Color( 0, 0, 0, 255 )
|
||||
xbans.searchbox:SetTextColor( Color( txtCol.r, txtCol.g, txtCol.b, 196 ) ) -- Set initial color
|
||||
xbans.searchbox.OnChange = function( pnl )
|
||||
if pnl:GetText() == "" then
|
||||
|
Loading…
Reference in New Issue
Block a user