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")) {
|
if (userAgentPlatform.includes("mac")) {
|
||||||
this.props.cores.ShortcutsCore.register({
|
this.props.cores.ShortcutsCore.register({
|
||||||
|
id: "app.openSearcher",
|
||||||
key: ",",
|
key: ",",
|
||||||
meta: true,
|
meta: true,
|
||||||
preventDefault: true,
|
preventDefault: true,
|
||||||
@ -356,6 +357,7 @@ class App extends React.Component {
|
|||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
this.props.cores.ShortcutsCore.register({
|
this.props.cores.ShortcutsCore.register({
|
||||||
|
id: "app.openSearcher",
|
||||||
key: ",",
|
key: ",",
|
||||||
ctrl: true,
|
ctrl: true,
|
||||||
preventDefault: true,
|
preventDefault: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user