mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
remove open settings shortcut
This commit is contained in:
parent
c5f5583f0d
commit
a5d7266177
@ -484,19 +484,6 @@ class ComtyApp extends React.Component {
|
||||
})
|
||||
}
|
||||
|
||||
const userAgentPlatform = window.navigator.userAgent.toLowerCase()
|
||||
const isMac = userAgentPlatform.indexOf("mac") !== -1
|
||||
|
||||
this.props.cores.shortcuts.register({
|
||||
id: "app.openSearcher",
|
||||
key: ",",
|
||||
meta: isMac,
|
||||
ctrl: !isMac,
|
||||
preventDefault: true,
|
||||
}, (...args) => {
|
||||
ComtyApp.publicMethods.controls.openSettings(...args)
|
||||
})
|
||||
|
||||
app.eventBus.emit("app.initialization.start")
|
||||
|
||||
await this.initialization()
|
||||
|
Loading…
x
Reference in New Issue
Block a user