    }
    pub fn do_root_layout(
        theme: &NotationTheme,
        state: &NotationAppState,
        settings: &NotationSettings,
        layout_query: &mut LayoutQuery,
        panel_query: &ViewQuery<ControlView>,
        content_query: &ViewQuery<TabViewer>,
        entity: Entity,
        view: &Arc<NotationViewer>,
    ) {
        if theme._bypass_systems { return; }
        let engine = NotationLayout::new(&theme, &state, &settings);
        let constraint =
            LayoutConstraint::from((engine.state.window_width, engine.state.window_height));