mirror of
https://github.com/OTCv8/otclientv8.git
synced 2025-10-20 06:33:26 +02:00
Version 1.7
This commit is contained in:
@@ -19,6 +19,10 @@ function UIComboBox:clearOptions()
|
||||
self:clearText()
|
||||
end
|
||||
|
||||
function UIComboBox:clear()
|
||||
return self:clearOptions()
|
||||
end
|
||||
|
||||
function UIComboBox:getOptionsCount()
|
||||
return #self.options
|
||||
end
|
||||
@@ -108,12 +112,6 @@ function UIComboBox:removeOption(text)
|
||||
end
|
||||
end
|
||||
|
||||
function UIComboBox:clear()
|
||||
self.options = {}
|
||||
self.currentIndex = -1
|
||||
self:setText("")
|
||||
end
|
||||
|
||||
function UIComboBox:onMousePress(mousePos, mouseButton)
|
||||
local menu
|
||||
if self.menuScroll then
|
||||
|
Reference in New Issue
Block a user