Skip to main content

MAX_VIEW_DEPTH

Constant MAX_VIEW_DEPTH 

Source
pub const MAX_VIEW_DEPTH: usize = 128;
Expand description

How deep a Lua view tree may nest: twice deep_nesting_64_levels, and inside a debug build’s 2 MB test thread whatever the nodes on the way (a chain of tooltips, radio groups and fragments overflowed it between 128 and 256). Past it, or on a node that is its own ancestor (t[1] = t), [build_node] refuses the view rather than recurse off the stack (backlog RG95).