mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
Removed SetTimeout on Markdown Preview Context menu
This commit is contained in:
committed by
Junyoung Choi
parent
f2a02a25a7
commit
caf1f92fef
@@ -248,7 +248,7 @@ export default class MarkdownPreview extends React.Component {
|
||||
handleContextMenu (event) {
|
||||
const menu = buildMarkdownPreviewContextMenu(this, event)
|
||||
if (menu != null) {
|
||||
setTimeout(() => menu.popup(remote.getCurrentWindow()), 30)
|
||||
menu.popup(remote.getCurrentWindow())
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user