mirror of
https://github.com/ankitects/anki.git
synced 2025-09-25 01:06:35 -04:00
Set a different shortcut for Mac
This commit is contained in:
parent
f379aa742e
commit
1662ff440b
1 changed files with 2 additions and 1 deletions
|
@ -10,10 +10,11 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||||||
import type { HistoryEntry } from "./types";
|
import type { HistoryEntry } from "./types";
|
||||||
import Icon from "$lib/components/Icon.svelte";
|
import Icon from "$lib/components/Icon.svelte";
|
||||||
import { caretDownFill } from "$lib/components/icons";
|
import { caretDownFill } from "$lib/components/icons";
|
||||||
|
import { isApplePlatform } from "@tslib/platform";
|
||||||
|
|
||||||
export let onHistory: () => void;
|
export let onHistory: () => void;
|
||||||
export let history: HistoryEntry[] = [];
|
export let history: HistoryEntry[] = [];
|
||||||
const historyKeyCombination = "Control+H";
|
const historyKeyCombination = isApplePlatform() ? "Control+Shift+H" : "Control+H";
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<ActionButton
|
<ActionButton
|
||||||
|
|
Loading…
Reference in a new issue