mirror of
https://github.com/edubart/otclient.git
synced 2025-04-29 17:19:20 +02:00
Fix an issue with the spinbox buttons.
This commit is contained in:
parent
7724b8059d
commit
f7531383f3
@ -7,12 +7,13 @@ function UISpinBox.create()
|
||||
spinbox:setValidCharacters('0123456789')
|
||||
spinbox.displayButtons = true
|
||||
spinbox.minimum = 0
|
||||
spinbox.maximum = 0
|
||||
spinbox.maximum = 1
|
||||
spinbox.value = 0
|
||||
spinbox.step = 1
|
||||
spinbox.firstchange = true
|
||||
spinbox.mouseScroll = true
|
||||
spinbox:setText("0")
|
||||
spinbox:setValue(1)
|
||||
return spinbox
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user