mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 08:26:01 +00:00
mac specific keyboard shortcuts #199
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
<script context="module">
|
||||
function getCommandTitle(command) {
|
||||
let res = command.text;
|
||||
if (command.keyText || command.keyTextFromGroup) res += ` (${command.keyText || command.keyTextFromGroup})`;
|
||||
if (command.keyText || command.keyTextFromGroup) {
|
||||
res += ` (${formatKeyText(command.keyText || command.keyTextFromGroup)})`;
|
||||
}
|
||||
return res;
|
||||
}
|
||||
</script>
|
||||
@@ -15,6 +17,7 @@
|
||||
import getElectron from '../utility/getElectron';
|
||||
import { useFavorites } from '../utility/metadataLoaders';
|
||||
import ToolbarButton from '../buttons/ToolbarButton.svelte';
|
||||
import { formatKeyText } from '../utility/common';
|
||||
|
||||
const electron = getElectron();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user