mirror of
https://github.com/BoostIo/Boostnote
synced 2025-12-13 09:46:22 +00:00
remove menu offset
This commit is contained in:
@@ -85,7 +85,7 @@ class FolderItem extends React.Component {
|
|||||||
click: () => this.handleDeleteButtonClick(e)
|
click: () => this.handleDeleteButtonClick(e)
|
||||||
}))
|
}))
|
||||||
|
|
||||||
menu.popup(remote.getCurrentWindow(), e.clientX, e.clientY - 44)
|
menu.popup(remote.getCurrentWindow())
|
||||||
}
|
}
|
||||||
|
|
||||||
handleRenameButtonClick (e) {
|
handleRenameButtonClick (e) {
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ class RepositorySection extends React.Component {
|
|||||||
click: () => this.handleUnlinkButtonClick()
|
click: () => this.handleUnlinkButtonClick()
|
||||||
}))
|
}))
|
||||||
|
|
||||||
menu.popup(remote.getCurrentWindow(), e.clientX, e.clientY - 44)
|
menu.popup(remote.getCurrentWindow())
|
||||||
}
|
}
|
||||||
|
|
||||||
handleNewFolderButtonClick (e) {
|
handleNewFolderButtonClick (e) {
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ class SideNav extends React.Component {
|
|||||||
label: 'Mount Repository',
|
label: 'Mount Repository',
|
||||||
click: (e) => this.handleNewRepositoryButtonClick(e)
|
click: (e) => this.handleNewRepositoryButtonClick(e)
|
||||||
}))
|
}))
|
||||||
menu.popup(remote.getCurrentWindow(), e.clientX, e.clientY - 44)
|
menu.popup(remote.getCurrentWindow())
|
||||||
}
|
}
|
||||||
|
|
||||||
handleNewRepositoryButtonClick (e) {
|
handleNewRepositoryButtonClick (e) {
|
||||||
|
|||||||
Reference in New Issue
Block a user