disambiguate, reintroduce removed method
This commit is contained in:
@@ -51,8 +51,8 @@ function TestAbsolutePositioningBasic:testDefaultAbsolutePositioning()
|
||||
height = 100,
|
||||
})
|
||||
|
||||
-- Default should be relative positioning
|
||||
luaunit.assertEquals(elem.positioning, Positioning.RELATIVE)
|
||||
-- Default should be absolute positioning (RELATIVE not yet implemented)
|
||||
luaunit.assertEquals(elem.positioning, Positioning.ABSOLUTE)
|
||||
luaunit.assertEquals(elem.x, 50)
|
||||
luaunit.assertEquals(elem.y, 75)
|
||||
end
|
||||
@@ -288,7 +288,7 @@ function TestAbsolutePositioningBasic:testAbsoluteChildNoParentAutoSizeAffect()
|
||||
positioning = Positioning.ABSOLUTE,
|
||||
})
|
||||
|
||||
local originalParentWidtheight = parent.width
|
||||
local originalParentWidth = parent.width
|
||||
local originalParentHeight = parent.height
|
||||
|
||||
local child = Gui.new({
|
||||
@@ -747,7 +747,7 @@ function TestAbsolutePositioningBasic:testAsymmetricAbsoluteTree()
|
||||
})
|
||||
|
||||
-- Left branch: deep nesting
|
||||
local leftBrancheight = Gui.new({
|
||||
local leftBranch = Gui.new({
|
||||
parent = root,
|
||||
id = "leftBranch",
|
||||
x = 100,
|
||||
@@ -792,7 +792,7 @@ function TestAbsolutePositioningBasic:testAsymmetricAbsoluteTree()
|
||||
})
|
||||
|
||||
-- Right branch: wide shallow
|
||||
local rightBrancheight = Gui.new({
|
||||
local rightBranch = Gui.new({
|
||||
parent = root,
|
||||
id = "rightBranch",
|
||||
x = 800,
|
||||
|
||||
Reference in New Issue
Block a user