diff --git a/ts/routes/editor/HistoryButton.svelte b/ts/routes/editor/HistoryButton.svelte index 5a07cc8d6..2e2a47086 100644 --- a/ts/routes/editor/HistoryButton.svelte +++ b/ts/routes/editor/HistoryButton.svelte @@ -10,10 +10,11 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html import type { HistoryEntry } from "./types"; import Icon from "$lib/components/Icon.svelte"; import { caretDownFill } from "$lib/components/icons"; + import { isApplePlatform } from "@tslib/platform"; export let onHistory: () => void; export let history: HistoryEntry[] = []; - const historyKeyCombination = "Control+H"; + const historyKeyCombination = isApplePlatform() ? "Control+Shift+H" : "Control+H";