[139] Zauberstab heisst in der Befehlszeile zauberstab (zs); wand startet die Wand
This commit is contained in:
5 files changed
+12
-8
No files matched your search
@@ -22,7 +22,7 @@ const hatchOf = (s: WandState, ctx: CommandContext): string | undefined =>
|
||||
s.sticky.hatch === NONE ? undefined : (usable(ctx)[s.sticky.hatch] ?? usable(ctx)[0])?.id;
|
||||
|
||||
export const wandCommand: Command = {
|
||||
name: "wand",
|
||||
name: "zauberstab",
|
||||
labelKey: "cmd.wand.label",
|
||||
prompt: () => "cmd.wand.point",
|
||||
accepts: () => ["point", "option"],
|
||||
|
||||
@@ -71,4 +71,10 @@ describe("Körper-Befehle (truck)", () => {
|
||||
expect(resolveCommand("bool")?.name).toBe("solidbool");
|
||||
expect(resolveCommand("verschneiden")?.name).toBe("solidbool");
|
||||
});
|
||||
|
||||
it("wand startet die Wand, zauberstab/zs den Zauberstab", () => {
|
||||
expect(resolveCommand("wand")?.name).toBe("wall");
|
||||
expect(resolveCommand("zauberstab")?.name).toBe("zauberstab");
|
||||
expect(resolveCommand("zs")?.name).toBe("zauberstab");
|
||||
});
|
||||
});
|
||||
@@ -107,7 +107,7 @@ export const COMMANDS: Record<string, Command> = {
|
||||
scalebar: scalebarCommand,
|
||||
revcloud: revcloudCommand,
|
||||
pointmarker: pointmarkerCommand,
|
||||
wand: wandCommand,
|
||||
zauberstab: wandCommand,
|
||||
wipeout: wipeoutCommand,
|
||||
text: textCommand,
|
||||
leader: leaderCommand,
|
||||
@@ -223,8 +223,7 @@ export const ALIASES: Record<string, string> = {
|
||||
wolke: "revcloud",
|
||||
revisionswolke: "revcloud",
|
||||
pm: "pointmarker",
|
||||
zs: "wand",
|
||||
zauberstab: "wand",
|
||||
zs: "zauberstab",
|
||||
punkt: "pointmarker",
|
||||
knoten: "pointmarker",
|
||||
wo: "wipeout",
|
||||
|
||||
+1
-1
@@ -43,7 +43,7 @@ const TOOLS: Record<ToolId, ToolInfo> = {
|
||||
scalebar: { labelKey: "tool.scalebar", hintKey: "tool.scalebar.hint", command: "scalebar" },
|
||||
revcloud: { labelKey: "tool.revcloud", hintKey: "tool.revcloud.hint", command: "revcloud" },
|
||||
pointmarker: { labelKey: "tool.pointmarker", hintKey: "tool.pointmarker.hint", command: "pointmarker" },
|
||||
wand: { labelKey: "tool.wand", hintKey: "tool.wand.hint", command: "wand" },
|
||||
wand: { labelKey: "tool.wand", hintKey: "tool.wand.hint", command: "zauberstab" },
|
||||
grid: { labelKey: "tool.grid", hintKey: "tool.grid.hint", command: "grid" },
|
||||
wipeout: { labelKey: "tool.wipeout", hintKey: "tool.wipeout.hint", command: "wipeout" },
|
||||
text: { labelKey: "tool.text", hintKey: "tool.text.hint", command: "text" },
|
||||
|
||||
@@ -22,8 +22,7 @@ ohne Fokus in der Befehlszeile sind dagegen Tastenkürzel (`m` Verschieben,
|
||||
- Eigene Kürzel legt man unter *Einstellungen → Allgemein →
|
||||
Befehlszeilen-Kürzel* an.
|
||||
|
||||
Kürzel werden vor dem Vervollständigen geprüft. Darum startet `wand` die
|
||||
**Wand** und nicht den Zauberstab – für den gibt es `zs` oder `zauberstab`.
|
||||
`wand` startet die **Wand**; der Zauberstab heisst `zauberstab` (Kürzel `zs`).
|
||||
Den Einzelbuchstaben `r` gibt es absichtlich nicht: er ist für relative
|
||||
Koordinaten reserviert.
|
||||
|
||||
@@ -135,7 +134,7 @@ Stand 5.11.2026, aus der Befehlsliste des Programms (`src/commands/registry.ts`)
|
||||
| `spline` | Spline | `sp` | Glatte Kurve durch Punkte |
|
||||
| `bezier` | Bezier | `bz` | Bézierkurve |
|
||||
| `wipeout` | Maskenregion | `wo`, `maske`, `maskierung` | Fläche, die Darunterliegendes abdeckt |
|
||||
| `wand` | Zauberstab | `zs`, `zauberstab` | Klick in umschlossene Fläche → Umriss mit Schraffur (Kürzel `zs`, nicht `wand`!) |
|
||||
| `zauberstab` | Zauberstab | `zs` | Klick in umschlossene Fläche → Umriss mit Schraffur |
|
||||
| `grid` | Achsraster | `axes`, `achsraster`, `achsen` | Rechtwinkliges oder radiales Achsraster mit Achsköpfen |
|
||||
| `block` | Block einfügen | `bl`, `symbol` | Block (Symbol) platzieren |
|
||||
| `defblock` | Block definieren | `db`, `blockdef` | Auswahl als Block speichern |
|
||||
|
||||
Reference in new issue
Block a user