mirror of
https://github.com/Insality/druid
synced 2025-09-27 10:02:19 +02:00
Add grid node anchor correct for calculate borders
This commit is contained in:
@@ -10676,7 +10676,7 @@ nodes {
|
||||
nodes {
|
||||
position {
|
||||
x: 0.0
|
||||
y: 3.0
|
||||
y: 4.0
|
||||
z: 0.0
|
||||
w: 1.0
|
||||
}
|
||||
|
@@ -17,7 +17,7 @@ end
|
||||
|
||||
local function setup_infinity_list(self)
|
||||
local data = {}
|
||||
for i = 1, 2500 do
|
||||
for i = 1, 250 do
|
||||
table.insert(data, i)
|
||||
end
|
||||
|
||||
@@ -27,7 +27,7 @@ local function setup_infinity_list(self)
|
||||
end)
|
||||
|
||||
-- scroll to some index
|
||||
local pos = self.infinity_grid:get_pos(950)
|
||||
local pos = self.infinity_grid:get_pos(100)
|
||||
self.infinity_scroll:scroll_to(pos, true)
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user