InputDialog: fix "number" input (#8383)

This commit is contained in:
hius07
2021-10-29 14:03:57 +03:00
committed by GitHub
parent a7cfc65928
commit bfddf710d6

View File

@@ -318,6 +318,7 @@ function InputDialog:init()
-- Create a dummy input widget to get some metrics
local input_widget = InputText:new{
text = self.fullscreen and "-" or self.input,
input_type = self.input_type,
face = self.input_face,
width = self.text_width,
padding = self.input_padding,