mirror of
https://github.com/edubart/otclient.git
synced 2025-10-15 12:04:55 +02:00
fix issue in move window, allow 861 protocols, update todo, remove wrong code from spinbox
This commit is contained in:
@@ -52,14 +52,6 @@ function UISpinBox:onMouseWheel(mousePos, direction)
|
||||
return true
|
||||
end
|
||||
|
||||
function UISpinBox:onStyleApply(styleName, styleNode)
|
||||
if styleNode.options then
|
||||
for k,option in pairs(styleNode.options) do
|
||||
self:addOption(option)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function UISpinBox:onTextChange(text)
|
||||
local number = tonumber(text)
|
||||
if not number or number > self.m_maximum or number < self.m_minimum then
|
||||
|
Reference in New Issue
Block a user