mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-01-23 15:29:05 +00:00
fix(label-editing): fix isTouch not being processed
Actually use event.isTouch to check label editing activation on create.end. This makes 7e928ec7092891a8d92e5bae2a7cbc95625aa55f 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…
x
Reference in New Issue
Block a user