parent
c901438216
commit
6528e2118e
@ -45,10 +45,10 @@ export class TableEvents extends BaseTable {
|
||||
"scroll", debounce(this.scrolled.bind(this), SCROLL_DEBOUNCE), {
|
||||
passive: true
|
||||
});
|
||||
body.addEventListener("contextmenu", this.contextmenu.bind(this), true);
|
||||
|
||||
table.addEventListener("keypress", this.keypressed.bind(this), true);
|
||||
table.addEventListener("keydown", this.keypressed.bind(this), true);
|
||||
table.addEventListener("contextmenu", this.contextmenu.bind(this), true);
|
||||
|
||||
selectionGrippy.addEventListener("click", this.grippyClicked.bind(this));
|
||||
}
|
||||
|
@ -571,9 +571,7 @@ export class DownloadTable extends VirtualTable {
|
||||
ctx.on("dismissed", () => this.table.focus());
|
||||
|
||||
this.on("contextmenu", (tree, event) => {
|
||||
if (!this.selection.empty) {
|
||||
this.showContextMenu(event);
|
||||
}
|
||||
this.showContextMenu(event);
|
||||
return true;
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user