mirror of
https://github.com/Insality/druid
synced 2025-09-28 02:22:19 +02:00
Start implement new check elements (for both dynamic and static grids). Add dynnamic infinityi scroll to example
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user