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