Merge remote-tracking branch 'origin/sub_laptop_4' into main_laptop_1 — 588 단축키 등록부 · UI_Edit 충돌(sub1 고르기 · 속성 판 + sub4 keyIs) 양쪽 살림

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-29 19:24:37 +09:00
co-authored by Claude Opus 5.5
34 changed files with 1304 additions and 193 deletions
+3 -2
View File
@@ -18,6 +18,7 @@
* ========================================================================== */
import { createButton, showToast } from "@ui/ui_template_elements";
import { keyIs } from "../A00_Common/key_registry";
import { createInputField } from "@ui/ui_template_input";
import { createSegment } from "@ui/ui_template_segment";
import { createText } from "@ui/ui_template_text";
@@ -444,7 +445,7 @@ export function createPlanDraw(params: PlanDrawParams): PlanDraw {
panelState();
},
key(event) {
if (mode === "draw" && event.key === "Enter") {
if (mode === "draw" && keyIs(event, "plan.drawFinish")) {
setMode("idle");
return true;
}
@@ -455,7 +456,7 @@ export function createPlanDraw(params: PlanDrawParams): PlanDraw {
setMode("idle");
return true;
}
if (mode === "draw" && active !== null && event.key === "Backspace") {
if (mode === "draw" && active !== null && keyIs(event, "plan.drawBack")) {
const network = params.network();
const step =
network.lines[active].vertices.length < 2