Allow to drag THEN press alt to duplicate (#1373)

* fix typo

* duplicate elements when alt is pressed on pointer move

* document use case

Co-authored-by: dwelle <luzar.david@gmail.com>
This commit is contained in:
Tom Dohnal
2020-04-11 13:37:43 +02:00
committed by GitHub
parent 5ca763cdbb
commit f3ef93e9ce
5 changed files with 68 additions and 50 deletions

View File

@ -6,16 +6,16 @@ Object {
"backgroundColor": "transparent",
"fillStyle": "hachure",
"height": 50,
"id": "id1",
"id": "id2",
"isDeleted": false,
"opacity": 100,
"roughness": 1,
"seed": 453191,
"seed": 2019559783,
"strokeColor": "#000000",
"strokeWidth": 1,
"type": "rectangle",
"version": 2,
"versionNonce": 1278240551,
"version": 4,
"versionNonce": 1150084233,
"width": 30,
"x": 30,
"y": 20,
@ -36,11 +36,11 @@ Object {
"strokeColor": "#000000",
"strokeWidth": 1,
"type": "rectangle",
"version": 3,
"versionNonce": 2019559783,
"version": 5,
"versionNonce": 1014066025,
"width": 30,
"x": 0,
"y": 40,
"x": -10,
"y": 60,
}
`;