Fix: LAYER command — remove shadowed LA alias (already bound to ToggleLayers)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Hakan Seven 2026-04-02 23:20:34 +03:00
commit 9e8b52c55d

View file

@ -1049,7 +1049,7 @@ impl H7CAD {
}
// ── LAYER management ─────────────────────────────────────────
cmd if cmd == "LAYER" || cmd == "LA" || cmd.starts_with("LAYER ") || cmd.starts_with("LA ") => {
cmd if cmd == "LAYER" || cmd.starts_with("LAYER ") || cmd.starts_with("LA ") => {
use acadrust::tables::Layer;
let raw_rest = if cmd.starts_with("LAYER ") {
cmd.trim_start_matches("LAYER ").trim()