editor: prevent interaction with widgets when shift or ctrl is held
This commit is contained in:
parent
73010ed1b0
commit
99f759c116
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ var handleClick = function(event) {
|
|||
if (!widget) return
|
||||
|
||||
// if the widget is not already selected
|
||||
if (!widget.container.classList.contains('editing')) {
|
||||
if (!widget.container.classList.contains('editing') || event.detail.ctrlKey || event.detail.shiftKey) {
|
||||
// add a flag to the original event to prevent draginit
|
||||
// and prevent any further fast-click (ie input focus)
|
||||
eventData.capturedByEditor = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue