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:
Nico Rehwaldt 2017-12-09 23:56:31 +01:00
parent 058cfbb579
commit 4a3c0378b9
1 changed files with 1 additions and 1 deletions

View File

@ -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