Skip to content

Commit

Permalink
Fixed: Panel tool tip not applied on the slider
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdvideo1234 committed Jan 22, 2023
1 parent 1177f1e commit d55818e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/autorun/gearassembly_init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ local asmlib = gearasmlib; if(not asmlib) then -- Module present

------ CONFIGURE ASMLIB ------
asmlib.InitBase("gear","assembly")
asmlib.SetOpVar("TOOL_VERSION","5.232")
asmlib.SetOpVar("TOOL_VERSION","5.233")
asmlib.SetIndexes("V",1,2,3)
asmlib.SetIndexes("A",1,2,3)
asmlib.SetIndexes("S",4,5,6,7)
Expand Down
2 changes: 1 addition & 1 deletion lua/vgui/gearassembly_bis.lua
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ function PANEL:SetSlider(sVar, sNam, sTyp)
self.Slider:SetText(sNam)
self.Slider:SetConVar(sVar)
self.Slider:SizeToContents()
if(sTyp ~= nil) then self.Slider:SetTooltip() end
if(sTyp ~= nil) then self.Slider:SetTooltip(tostring(sTyp)) end
return self
end

Expand Down

0 comments on commit d55818e

Please sign in to comment.