Nico Rehwaldt
4a3c0378b9
fix(label-editing): fix isTouch not being processed
...
Actually use event.isTouch to check label editing activation on
create.end.
This makes 7e928ec709
work.
2017-12-13 13:30:51 +01:00
Nico Rehwaldt
058cfbb579
chore(label-editing): use isAny helper
2017-12-13 13:30:51 +01:00
Nico Rehwaldt
7e928ec709
fix(label-editing): use new isTouch detection for conditional activation
...
Chrome and other modern desktop browsers
ship with touch features out of the box.
Because of that, it is not possible to use
the check
```
'ontouchstart' in document.documentElement
```
2017-12-08 19:32:13 +01:00
Philipp Fromme
e797d9c142
feat(label-editing): improve text annotation editing
...
Related to camunda/camunda-modeler#564
2017-07-25 15:05:35 +02:00
Nico Rehwaldt
404c35c97f
fix(BpmnRenderer): revert text annotations automatic content fitting
...
This reverts commit a53562e1d5
.
Closes #635
2016-12-01 13:27:30 +01:00
pedesen
a53562e1d5
feat(BpmnRenderer): text annotations automatically fit their content
...
Closes #600
2016-11-09 08:23:34 +01:00
pedesen
5b9dc626a6
chore(label-editing): ensure minimum dimensions for internal labels
...
* This ensures a reasonable text box dimension at lower zoom levels
Closes #610
2016-09-05 15:52:23 +02:00
pedesen
f7f868ec67
chore(label-editing): resize textbox during direct editing
...
Related to bpmn-io/diagram-js-direct-editing#2
2016-08-29 08:56:12 +02:00
Ricardo Matias
6e8962574b
revert(textarea): support automatic-resizing textarea
...
This reverts commit 11165e2c21
.
2016-05-18 08:17:03 +02:00
hoferch91
11165e2c21
fix(textarea): support automatic-resizing textarea
...
Closes #472
2016-05-02 11:26:19 +02:00
Jan Stümmel
9582a68faf
fix(textarea-size-zoom): fixes the size of a label textbox on low zoom levels
...
Closes #477
2016-03-09 14:39:52 +01:00
Nico Rehwaldt
7ad9c7106e
fix(label-editing): complete editing operation on drag init
...
Make sure the direct editing results are applied (not discarded)
when the user starts a drag operation with direct editing active.
Closes #490
2016-03-08 14:41:32 +01:00
Nico Rehwaldt
5d5683ff64
chore(project): update didi dependency
2015-10-20 15:34:16 +02:00
Nico Rehwaldt
b233ab957c
feat(snapping): add bpmn-specific move snapping
...
This commit adds message flow + collaboration specific snapping by
subclassing the diagram-js provided default Snapping implementation.
* Add collaboration snapping
* Rename lib/util/{Name}.js -> lib/util/{Name}Util.js
Closes #255
2015-04-29 15:04:54 +02:00
Nico Rehwaldt
3996408404
chore(project): migrate to modularized lodash@3
...
* use specialized lodash utilities
* consistently apply 'use strict'
Related to #185
2015-02-02 14:46:21 +01:00
Nico Rehwaldt
2909847ac8
feat(direct-editing): rework editing
...
This commit updates the default direct editing behavior.
It activates on non-touch environments only and only on embedded
labels, too.
This provides a way smoother modeling experience.
2014-12-23 16:56:35 +01:00
Nico Rehwaldt
18784c5994
fix(label-editing): listen to correct events
2014-12-17 21:55:03 +01:00
Nico Rehwaldt
66c7a31d34
chore(label-editing): deselect element during editing
2014-09-15 14:42:43 +02:00
Nico Rehwaldt
a1044e2784
fix(label-editing): correctly compute direct-editing bbox
...
Closes #115
2014-09-09 15:21:21 +02:00
Nico Rehwaldt
9d16e17c5c
fix(labels): correct positioning + hide if empty
...
This commit improves the label handling by
* showing the label only if it exists
* updating the status accordingly
* positioning the label correctly on import
Related to #113
2014-09-08 19:03:39 +02:00
Nico Rehwaldt
9e2ad175df
chore(label-editing): integrate into modeling
2014-08-04 09:34:46 +02:00
Nico Rehwaldt
f380a4b044
feat(lib/core): use directly linked data-model
...
Closes #91
2014-07-17 14:08:15 +02:00
jdotzki
7e73e9d7c9
feat(features/label-editing): add touch based editing
...
Closes #84
2014-07-17 13:20:59 +02:00
Nico Rehwaldt
17329666f9
fix(LabelEditingProvider): work around old WebKit incompatibility
2014-06-24 15:34:57 +02:00
Nico Rehwaldt
84510cc45d
feat(label-editing): edit all labels
...
Related to #7
2014-06-17 11:53:07 +02:00
Nico Rehwaldt
73fbeb3d27
feat(modeler): add label editing
...
Related to #7
2014-06-11 15:08:45 +02:00