Ver Fonte

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

Add missed argument
John Dodis há 3 meses atrás
pai
commit
513a090abf
1 ficheiros alterados com 1 adições e 1 exclusões
  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 )