Skip to main content

direction

Function direction 

Source
pub fn direction(name: &str) -> LayoutDirection
Expand description

The reading direction a scene expects.

The direction is a global, like the theme, so a capture run that renders the whole catalog into one process has to set it per scene the same way it activates a theme per scene. A scene that changed it while rendering would leak into whichever scene came next, and the leak would show up as a changed image somewhere else entirely.