mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
use new register
This commit is contained in:
parent
af82d729ca
commit
805c613ae0
@ -348,6 +348,7 @@ class App extends React.Component {
|
||||
|
||||
if (userAgentPlatform.includes("mac")) {
|
||||
this.props.cores.ShortcutsCore.register({
|
||||
id: "app.openSearcher",
|
||||
key: ",",
|
||||
meta: true,
|
||||
preventDefault: true,
|
||||
@ -356,6 +357,7 @@ class App extends React.Component {
|
||||
})
|
||||
} else {
|
||||
this.props.cores.ShortcutsCore.register({
|
||||
id: "app.openSearcher",
|
||||
key: ",",
|
||||
ctrl: true,
|
||||
preventDefault: true,
|
||||
|
Loading…
x
Reference in New Issue
Block a user