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.
7 lines
120 B
Rust
7 lines
120 B
Rust
/// Why a name cannot be used
|
|
#[derive(Clone, Copy, Debug, PartialEq, Eq)]
|
|
pub enum NameError {
|
|
Empty,
|
|
Taken,
|
|
}
|