Merge pull request #4516 from kazuhitoyokoi/master-fixfocus4contextmenu

Focus Quick Add dialog from context menu
pull/3505/merge
Nick O'Leary 2024-01-08 17:04:00 +00:00 committed by GitHub
commit 6a4d293352
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ RED.contextMenu = (function () {
onselect: function () {
RED.view.showQuickAddDialog({
position: [addX, addY],
touchTrigger: true,
touchTrigger: 'ontouchstart' in window,
splice: isSingleLink ? selection.links[0] : undefined,
// spliceMultiple: isMultipleLinks
})