mirror of
https://github.com/storytold/texturecraft.git
synced 2026-11-28 17:19:24 +01:00
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.
11 lines
393 B
Rust
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> },
|
|
}
|