Files
texturecraft/crates/ui-egui/src/layout_dialog.rs
T
chasse20 26490af2b9 Auto: Harden command and clone bounds and reduce mask allocations
Reject overflowing set indexes, saturate layer moves and clone offsets, and validate path corner flags before mutation. Clear discarded path caches and replace disabled-mask previews with a blank upload.

Reduce repeated selection allocations and temporary mask buffers. Preserve public reexports while separating types, and complete scoped comment and guard-spacing cleanup.

Validated paint and focused engine tests, workspace Clippy, production wasm checks, layering and formatting.
2026-11-18 04:14:11 +00:00

11 lines
393 B
Rust

/// The layout dialog being shown (not saved)
#[derive(Clone, Debug, PartialEq)]
pub enum LayoutDialog {
/// Asking for the name to save the current layout under
Save(String),
/// A layout of this name exists: asking whether to replace it
Overwrite(String),
/// The list with rename and delete
Manage { renaming: Option<(String, String)>, deleting: Option<String> },
}