Version 1.7

This commit is contained in:
OTCv8
2020-01-08 00:24:01 +01:00
parent 1d2bdf855d
commit 2a10e65ec0
42 changed files with 1157 additions and 563 deletions

View File

@@ -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