Something fixed ?

This commit is contained in:
세젤귀 고양이들 2021-12-19 16:32:12 +09:00
parent 846788fd4c
commit 936517ed49
2 changed files with 1 additions and 2 deletions

View file

@ -12,6 +12,7 @@ local textButton = class.import "TextButton";
imageButton.BackgroundTransparency = 1; imageButton.BackgroundTransparency = 1;
textButton.BorderSizePixel = 0; textButton.BorderSizePixel = 0;
textLabel.Size = UDim2.fromScale(1,1); textLabel.Size = UDim2.fromScale(1,1);
textLabel.BackgroundTransparency = 1;
-- 기본 값 설정 -- 기본 값 설정
function myButton:init(props) function myButton:init(props)

View file

@ -63,13 +63,11 @@ function module.init(shared)
function new.getObjects(id) function new.getObjects(id)
return items[id]; return items[id];
end end
-- get first object with id (not array) -- get first object with id (not array)
function new.getObject(id) function new.getObject(id)
local item = items[id]; local item = items[id];
return item and item[1]; return item and item[1];
end end
--TODO: if item is exist already, ignore this call --TODO: if item is exist already, ignore this call
-- adding object with id -- adding object with id
function new.addObject(ids,object) function new.addObject(ids,object)