1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-12 17:26:17 +00:00

deleted ctr+l and ctrl+t

This commit is contained in:
mehr-licht
2018-11-19 19:00:51 +00:00
parent 101e5d5035
commit 92e2cd102e

View File

@@ -217,30 +217,6 @@ class MarkdownNoteDetail extends React.Component {
}
}
break
// L key
case 76:
{
const isSuper = global.process.platform === 'darwin'
? e.metaKey
: e.ctrlKey
if (isSuper) {
e.preventDefault()
this.focus()
}
}
break
// T key
case 84:
{
const isSuper = global.process.platform === 'darwin'
? e.metaKey
: e.ctrlKey
if (isSuper && !e.shiftKey && !e.altKey) {
e.preventDefault()
this.addSnippet()
}
}
break
}
}