beta
This commit is contained in:
@@ -1152,9 +1152,8 @@ local function modify(parent, region, data)
|
|||||||
local newPositions = {}
|
local newPositions = {}
|
||||||
self.growFunc(newPositions, self.sortedChildren)
|
self.growFunc(newPositions, self.sortedChildren)
|
||||||
if #newPositions > 0 then
|
if #newPositions > 0 then
|
||||||
local max = #newPositions
|
for index = 1, #newPositions do
|
||||||
for index = 1, max do
|
if type(newPositions[index]) == "table" then
|
||||||
if newPositions[index] then
|
|
||||||
local data = self.sortedChildren[index]
|
local data = self.sortedChildren[index]
|
||||||
if data then
|
if data then
|
||||||
newPositions[data] = newPositions[index]
|
newPositions[data] = newPositions[index]
|
||||||
|
|||||||
Reference in New Issue
Block a user