Explorar el Código

Merge pull request #6 from 0riginaln0/patch-1

Add missed argument
John Dodis hace 4 meses
padre
commit
513a090abf
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      ui2d/ui2d.lua

+ 1 - 1
ui2d/ui2d.lua

@@ -495,7 +495,7 @@ local function UpdateLayout( bbox )
 	layout.same_column = false
 end
 
-local function Slider( type, name, v, v_min, v_max, width, tooltip )
+local function Slider( type, name, v, v_min, v_max, width, num_decimals, tooltip )
 	local text = GetLabelPart( name )
 	local cur_window = windows[ begin_idx ]
 	local text_w = font.handle:getWidth( text )