mirror of
https://github.com/storytold/lightcraft.git
synced 2026-11-02 14:39:41 -06:00
refactor(lightcraft-ui-egui): move panels/slide_overlays.rs to dialogs/settings/slide_overlays.rs
This commit is contained in:
@@ -21,6 +21,7 @@ use crate::theme::Tokens;
|
||||
use crate::widgets::register;
|
||||
|
||||
pub mod slide_layout;
|
||||
pub mod slide_overlays;
|
||||
|
||||
/// (id, label) of the tabs, in order.
|
||||
pub const TABS: &[(&str, &str)] = &[
|
||||
|
||||
+1
-1
@@ -13,8 +13,8 @@ use lightcraft_engine::slide_overlay::{
|
||||
};
|
||||
use serde_json::{Value, json};
|
||||
|
||||
use super::settings::{check, choices, heading, hint, row};
|
||||
use crate::LightcraftApp;
|
||||
use crate::panels::settings::{check, choices, heading, hint, row};
|
||||
use crate::text_field::TextField;
|
||||
use crate::theme::Tokens;
|
||||
use crate::widgets::register;
|
||||
@@ -26,7 +26,6 @@ pub mod presets;
|
||||
pub mod profiles;
|
||||
pub mod right;
|
||||
pub mod second;
|
||||
pub mod slide_overlays;
|
||||
pub mod slide_templates;
|
||||
pub mod slide_titles;
|
||||
pub mod slideshow;
|
||||
@@ -44,6 +43,7 @@ pub use crate::dialogs::rules_editor;
|
||||
pub use crate::dialogs::rules_editor::rules_move;
|
||||
pub use crate::dialogs::settings;
|
||||
pub use crate::dialogs::settings::slide_layout;
|
||||
pub use crate::dialogs::settings::slide_overlays;
|
||||
use crate::theme::Tokens;
|
||||
|
||||
/// Show a side panel the user resizes by dragging its inner edge. `width` (in [`crate::UiState`],
|
||||
|
||||
Reference in New Issue
Block a user