Fix my bad (#3159)

This commit is contained in:
Astralcircle 2024-10-26 16:08:19 +03:00 committed by GitHub
parent 87e6ca0eec
commit 1f2c2b4e4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -138,7 +138,7 @@ function PANEL:Init()
surface_DrawRect(0, 0, w, h)
local color = base.ValidationColorOutline
surface_SetDrawColor(color.r, color.g, _color.b, color.a)
surface_SetDrawColor(color.r, color.g, color.b, color.a)
surface_DrawOutlinedRect(0, 0, w, h, 2)
draw_SimpleText(base.ValidationText, "DermaDefault", w / 2, h / 2, color_white, TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER )
@ -303,4 +303,4 @@ function PANEL:Update(errors, warnings, header_text, header_color)
end
end
vgui.Register("Wire.IssueViewer", PANEL, "DPanel")
vgui.Register("Wire.IssueViewer", PANEL, "DPanel")