Start implement new check elements (for both dynamic and static grids). Add dynnamic infinityi scroll to example

This commit is contained in:
Insality
2020-11-08 13:58:05 +03:00
parent ad59c30a89
commit 560c6cb95f
5 changed files with 474 additions and 93 deletions

View File

@@ -220,6 +220,14 @@ function DynamicGrid.get_size(self, border)
end
function DynamicGrid.get_size_for(self, count)
return vmath.vector3(
self.border.z - self.border.x,
self.border.y - self.border.w,
0)
end
--- Return grid content borders
-- @tparam DynamicGrid self
-- @treturn vector3 The grid content borders