This commit is contained in:
Nariman Jelveh 2024-06-19 21:07:41 -07:00
parent 7006dcc31c
commit feabbaf564
2 changed files with 1 additions and 5 deletions

View File

@ -560,6 +560,7 @@ function UIItem(options){
if($(e.target).hasClass('item-has-website-url-badge')) if($(e.target).hasClass('item-has-website-url-badge'))
return false; return false;
// get the parent window
const $el_parent_window = $(el_item).closest('.window'); const $el_parent_window = $(el_item).closest('.window');
// first see if this is a ContextMenu call on multiple items // first see if this is a ContextMenu call on multiple items
@ -753,10 +754,6 @@ function UIItem(options){
if(event.target === el_item_name_editor) if(event.target === el_item_name_editor)
return; return;
// if ctrl is pressed don't open ctxmenu, ctrl is for drag and copy
if(event.ctrlKey)
return false;
event.preventDefault(); event.preventDefault();
let menu_items; let menu_items;
const $selected_items = $(el_item).closest('.item-container').find('.item-selected').not(el_item).addBack(); const $selected_items = $(el_item).closest('.item-container').find('.item-selected').not(el_item).addBack();

View File

@ -40,7 +40,6 @@ import { ProcessService } from './services/ProcessService.js';
import { PROCESS_RUNNING } from './definitions.js'; import { PROCESS_RUNNING } from './definitions.js';
import { LocaleService } from './services/LocaleService.js'; import { LocaleService } from './services/LocaleService.js';
import { SettingsService } from './services/SettingsService.js'; import { SettingsService } from './services/SettingsService.js';
import UIComponentWindow from './UI/UIComponentWindow.js'; import UIComponentWindow from './UI/UIComponentWindow.js';
import update_mouse_position from './helpers/update_mouse_position.js'; import update_mouse_position from './helpers/update_mouse_position.js';
import { LaunchOnInitService } from './services/LaunchOnInitService.js'; import { LaunchOnInitService } from './services/LaunchOnInitService.js';