[289] Linux-App: Strg-Kürzel über isPrimaryMod (Meta löst nichts mehr aus; neu Strg+N/P/Q/Plus/Minus), Kürzel-Anzeige je Plattform, Fensterknöpfe rechts, Scrollbalken/Schrift, gedoppelte Plan-Schrift unter WASM behoben
cycles / linux (push) Has been cancelled
cycles / macos (push) Has been cancelled

This commit is contained in:
Claude committed 2026-11-18 22:44:56 +00:00
1 parent 523ac308d4
commit b8d2920733
22 files changed
+272 -70

No files matched your search

+2 -1
View File
@@ -6,6 +6,7 @@
// seine Projekt-Änderungen gehen als Ops ans Hauptfenster (`changeSink.ts`), Host-Handler ebenso. Cmd+Z/
// Cmd+Shift+Z wirken auf den Verlauf des Hauptfensters; Esc schliesst das Fenster.
import { isPrimaryMod } from "../state/platform";
import { useEffect, useMemo, useState } from "react";
import { t } from "../i18n";
import { PanelHostProvider } from "../panels/host";
@@ -75,7 +76,7 @@ export function ObjectSettingsWindowApp() {
const onKey = (e: KeyboardEvent) => {
if (isTextEntry(document.activeElement)) return;
const mod = e.metaKey || e.ctrlKey;
const mod = isPrimaryMod(e);
if (mod && (e.key === "z" || e.key === "Z")) {
e.preventDefault();
send(e.shiftKey ? "redo" : "undo");