fix: fix missing vars
This commit is contained in:
parent
77311a803b
commit
6a66cff503
2 changed files with 3 additions and 3 deletions
|
@ -61,7 +61,7 @@ function Box3D:setSizeFromOwner()
|
|||
self:setSize(self.owner.w, self.owner.h, self.owner.d)
|
||||
end
|
||||
|
||||
function Box3D:setSize()
|
||||
function Box3D:setSize(w, h, d)
|
||||
self.w = w
|
||||
self.h = h
|
||||
self.d = d
|
||||
|
|
|
@ -113,7 +113,7 @@ function widgets.Switch:new(scene, menu, keyname)
|
|||
local label = core.lang:translate("options", keyname)
|
||||
local label2 = self:getLabel()
|
||||
widgets.Switch.super.new(self, widgetmenu, font, label, label2)
|
||||
self.order = order or 0
|
||||
self.order = 0
|
||||
end
|
||||
|
||||
function widgets.Switch:modifyKey()
|
||||
|
@ -263,7 +263,7 @@ end
|
|||
|
||||
function widgets.Audio:new(scene, menu, audiotype)
|
||||
self.scene = scene
|
||||
self.audiotype = key
|
||||
self.audiotype = audiotype
|
||||
|
||||
|
||||
local widgetmenu = self.scene.menusystem.menus[menu]
|
||||
|
|
Loading…
Reference in a new issue