MCPcopy Create free account
hub / github.com/Logicalshift/flowbetween / virtual_scroll

Method virtual_scroll

attic/ui/src/controllers/virtual_canvas.rs:74–95  ·  view source on GitHub ↗

Handles a virtual scroll event Callers can use the raw values from the virtual scroll event (the canvases will always fill the available area), but if they want to hide the canvases loading in from the user they may want to increase the grid size and move the top-left corner to allow for a buffer.

(&self, tile_size: (f32, f32), top_left: (u32, u32), grid_size: (u32, u32))

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

actionMethod · 0.80
grid_scrolls_correctlyFunction · 0.80

Calls 3

reorder_tilesMethod · 0.80
resize_tilesMethod · 0.80
getMethod · 0.45

Tested by 2

grid_scrolls_correctlyFunction · 0.64