ui/layout/
status_bar.rs

1//! Renders the status bar at the bottom of the screen.
2
3use egui::{Context, TopBottomPanel, warn_if_debug_build};
4
5/// Handles the rendering of the toolbar.
6pub(super) fn render(context: &mut Context) {
7    TopBottomPanel::bottom("Status Bar").show(context, |ui| {
8        ui.horizontal(|ui| {
9            warn_if_debug_build(ui);
10            ui.add_space(ui.available_width() - (ui.available_height() + 2.));
11            ui.spinner();
12        });
13    });
14}