fix(label-editing): fix isTouch not being processed
Actually use event.isTouch to check label editing activation on
create.end.
This makes 7e928ec709
work.
This commit is contained in:
parent
058cfbb579
commit
4a3c0378b9
|
@ -48,7 +48,7 @@ function LabelEditingProvider(eventBus, canvas, directEditing, commandStack, res
|
|||
|
||||
var element = event.shape,
|
||||
canExecute = event.context.canExecute,
|
||||
isTouch;
|
||||
isTouch = event.isTouch;
|
||||
|
||||
// TODO(nikku): we need to find a way to support the direct editing
|
||||
// on mobile devices; right now this will break for desworkflowediting on mobile devices
|
||||
|
|
Loading…
Reference in New Issue