Update Dropdown
This commit is contained in:
@@ -83,10 +83,26 @@ return function(name, basalt)
|
|||||||
return self
|
return self
|
||||||
end,
|
end,
|
||||||
|
|
||||||
|
setDropdownWidth = function(self, width)
|
||||||
|
return self:setDropdownSize(width, dropdownH)
|
||||||
|
end,
|
||||||
|
|
||||||
|
setDropdownHeight = function(self, height)
|
||||||
|
return self:setDropdownSize(dropdownW, height)
|
||||||
|
end,
|
||||||
|
|
||||||
getDropdownSize = function(self)
|
getDropdownSize = function(self)
|
||||||
return dropdownW, dropdownH
|
return dropdownW, dropdownH
|
||||||
end,
|
end,
|
||||||
|
|
||||||
|
getDropdownWidth = function(self)
|
||||||
|
return dropdownW
|
||||||
|
end,
|
||||||
|
|
||||||
|
getDropdownHeight = function(self)
|
||||||
|
return dropdownH
|
||||||
|
end,
|
||||||
|
|
||||||
mouseHandler = function(self, button, x, y, isMon)
|
mouseHandler = function(self, button, x, y, isMon)
|
||||||
if (isOpened) then
|
if (isOpened) then
|
||||||
local obx, oby = self:getAbsolutePosition()
|
local obx, oby = self:getAbsolutePosition()
|
||||||
|
|||||||
Reference in New Issue
Block a user