Fixes
Small bug fixes
This commit is contained in:
@@ -25,7 +25,7 @@ return function(name, basalt)
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if (h + x - width >= amount) then
|
if (w + x - width >= amount) then
|
||||||
amount = max(w + x - width, 0)
|
amount = max(w + x - width, 0)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -267,7 +267,7 @@ return function(name, basalt)
|
|||||||
|
|
||||||
isFocused = function(self)
|
isFocused = function(self)
|
||||||
if (parent ~= nil) then
|
if (parent ~= nil) then
|
||||||
return parent:getFocusedObject() == self
|
return parent:getFocused() == self
|
||||||
end
|
end
|
||||||
return true
|
return true
|
||||||
end,
|
end,
|
||||||
|
|||||||
@@ -28,7 +28,7 @@ return {
|
|||||||
local parent = self:getParent()
|
local parent = self:getParent()
|
||||||
local objects = {}
|
local objects = {}
|
||||||
for k,v in pairs(objectGroup)do
|
for k,v in pairs(objectGroup)do
|
||||||
objects[v] = parent:getObject(v)
|
objects[v] = parent:getChild(v)
|
||||||
if(objects[v]==nil)then
|
if(objects[v]==nil)then
|
||||||
error("Dynamic Values - unable to find object: "..v)
|
error("Dynamic Values - unable to find object: "..v)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user