Skip to main content

Module open_updates

Module open_updates 

Source
Expand description

Telling every window what an open made: the new objects as they are in the store now, in one batched frame (EventBus::broadcast_mux_obj_updates), so the renderer applies them in a single reactive flush and never paints a block without its tab or a tab without its layout.

Functionsยง

broadcast_block_in_tab ๐Ÿ”’
A block that was opened in a tab: the block, the tab, then the tabโ€™s layout. What the store does not have is left out.
broadcast_new_floater ๐Ÿ”’
A block that was opened floating, in a workspace and tab of its own: the workspace, the tabโ€™s layout, the tab, then the block (the order the tear-off by drag sends).
row ๐Ÿ”’
The update row of one stored object, as it is now.