|
|
|
@ -12410,13 +12410,13 @@ exports[`regression tests key o selects ellipse tool: [end of test] number of el
|
|
|
|
|
|
|
|
|
|
exports[`regression tests key o selects ellipse tool: [end of test] number of renders 1`] = `9`;
|
|
|
|
|
|
|
|
|
|
exports[`regression tests key r selects rectangle tool: [end of test] appState 1`] = `
|
|
|
|
|
exports[`regression tests key p selects freedraw tool: [end of test] appState 1`] = `
|
|
|
|
|
Object {
|
|
|
|
|
"activeTool": Object {
|
|
|
|
|
"customType": null,
|
|
|
|
|
"lastActiveToolBeforeEraser": null,
|
|
|
|
|
"locked": false,
|
|
|
|
|
"type": "selection",
|
|
|
|
|
"type": "freedraw",
|
|
|
|
|
},
|
|
|
|
|
"collaborators": Map {},
|
|
|
|
|
"currentChartType": "bar",
|
|
|
|
@ -12474,7 +12474,7 @@ Object {
|
|
|
|
|
"scrollY": 0,
|
|
|
|
|
"scrolledOutside": false,
|
|
|
|
|
"selectedElementIds": Object {
|
|
|
|
|
"id0": true,
|
|
|
|
|
"id0": false,
|
|
|
|
|
},
|
|
|
|
|
"selectedGroupIds": Object {},
|
|
|
|
|
"selectedLinearElement": null,
|
|
|
|
@ -12497,7 +12497,7 @@ Object {
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
exports[`regression tests key r selects rectangle tool: [end of test] element 0 1`] = `
|
|
|
|
|
exports[`regression tests key p selects freedraw tool: [end of test] element 0 1`] = `
|
|
|
|
|
Object {
|
|
|
|
|
"angle": 0,
|
|
|
|
|
"backgroundColor": "transparent",
|
|
|
|
@ -12507,26 +12507,50 @@ Object {
|
|
|
|
|
"height": 10,
|
|
|
|
|
"id": "id0",
|
|
|
|
|
"isDeleted": false,
|
|
|
|
|
"lastCommittedPoint": Array [
|
|
|
|
|
10,
|
|
|
|
|
10,
|
|
|
|
|
],
|
|
|
|
|
"link": null,
|
|
|
|
|
"locked": false,
|
|
|
|
|
"opacity": 100,
|
|
|
|
|
"points": Array [
|
|
|
|
|
Array [
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
],
|
|
|
|
|
Array [
|
|
|
|
|
10,
|
|
|
|
|
10,
|
|
|
|
|
],
|
|
|
|
|
Array [
|
|
|
|
|
10,
|
|
|
|
|
10,
|
|
|
|
|
],
|
|
|
|
|
],
|
|
|
|
|
"pressures": Array [
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
],
|
|
|
|
|
"roughness": 1,
|
|
|
|
|
"seed": 337897,
|
|
|
|
|
"simulatePressure": false,
|
|
|
|
|
"strokeColor": "#000000",
|
|
|
|
|
"strokeSharpness": "sharp",
|
|
|
|
|
"strokeSharpness": "round",
|
|
|
|
|
"strokeStyle": "solid",
|
|
|
|
|
"strokeWidth": 1,
|
|
|
|
|
"type": "rectangle",
|
|
|
|
|
"type": "freedraw",
|
|
|
|
|
"updated": 1,
|
|
|
|
|
"version": 2,
|
|
|
|
|
"versionNonce": 1278240551,
|
|
|
|
|
"version": 4,
|
|
|
|
|
"versionNonce": 453191,
|
|
|
|
|
"width": 10,
|
|
|
|
|
"x": 10,
|
|
|
|
|
"y": 10,
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
exports[`regression tests key r selects rectangle tool: [end of test] history 1`] = `
|
|
|
|
|
exports[`regression tests key p selects freedraw tool: [end of test] history 1`] = `
|
|
|
|
|
Object {
|
|
|
|
|
"recording": false,
|
|
|
|
|
"redoStack": Array [],
|
|
|
|
@ -12548,7 +12572,7 @@ Object {
|
|
|
|
|
"editingLinearElement": null,
|
|
|
|
|
"name": "Untitled-201933152653",
|
|
|
|
|
"selectedElementIds": Object {
|
|
|
|
|
"id0": true,
|
|
|
|
|
"id0": false,
|
|
|
|
|
},
|
|
|
|
|
"selectedGroupIds": Object {},
|
|
|
|
|
"viewBackgroundColor": "#ffffff",
|
|
|
|
@ -12563,19 +12587,43 @@ Object {
|
|
|
|
|
"height": 10,
|
|
|
|
|
"id": "id0",
|
|
|
|
|
"isDeleted": false,
|
|
|
|
|
"lastCommittedPoint": Array [
|
|
|
|
|
10,
|
|
|
|
|
10,
|
|
|
|
|
],
|
|
|
|
|
"link": null,
|
|
|
|
|
"locked": false,
|
|
|
|
|
"opacity": 100,
|
|
|
|
|
"points": Array [
|
|
|
|
|
Array [
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
],
|
|
|
|
|
Array [
|
|
|
|
|
10,
|
|
|
|
|
10,
|
|
|
|
|
],
|
|
|
|
|
Array [
|
|
|
|
|
10,
|
|
|
|
|
10,
|
|
|
|
|
],
|
|
|
|
|
],
|
|
|
|
|
"pressures": Array [
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
],
|
|
|
|
|
"roughness": 1,
|
|
|
|
|
"seed": 337897,
|
|
|
|
|
"simulatePressure": false,
|
|
|
|
|
"strokeColor": "#000000",
|
|
|
|
|
"strokeSharpness": "sharp",
|
|
|
|
|
"strokeSharpness": "round",
|
|
|
|
|
"strokeStyle": "solid",
|
|
|
|
|
"strokeWidth": 1,
|
|
|
|
|
"type": "rectangle",
|
|
|
|
|
"type": "freedraw",
|
|
|
|
|
"updated": 1,
|
|
|
|
|
"version": 2,
|
|
|
|
|
"versionNonce": 1278240551,
|
|
|
|
|
"version": 4,
|
|
|
|
|
"versionNonce": 453191,
|
|
|
|
|
"width": 10,
|
|
|
|
|
"x": 10,
|
|
|
|
|
"y": 10,
|
|
|
|
@ -12586,17 +12634,17 @@ Object {
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
exports[`regression tests key r selects rectangle tool: [end of test] number of elements 1`] = `1`;
|
|
|
|
|
exports[`regression tests key p selects freedraw tool: [end of test] number of elements 1`] = `1`;
|
|
|
|
|
|
|
|
|
|
exports[`regression tests key r selects rectangle tool: [end of test] number of renders 1`] = `9`;
|
|
|
|
|
exports[`regression tests key p selects freedraw tool: [end of test] number of renders 1`] = `9`;
|
|
|
|
|
|
|
|
|
|
exports[`regression tests key x selects freedraw tool: [end of test] appState 1`] = `
|
|
|
|
|
exports[`regression tests key r selects rectangle tool: [end of test] appState 1`] = `
|
|
|
|
|
Object {
|
|
|
|
|
"activeTool": Object {
|
|
|
|
|
"customType": null,
|
|
|
|
|
"lastActiveToolBeforeEraser": null,
|
|
|
|
|
"locked": false,
|
|
|
|
|
"type": "freedraw",
|
|
|
|
|
"type": "selection",
|
|
|
|
|
},
|
|
|
|
|
"collaborators": Map {},
|
|
|
|
|
"currentChartType": "bar",
|
|
|
|
@ -12654,7 +12702,7 @@ Object {
|
|
|
|
|
"scrollY": 0,
|
|
|
|
|
"scrolledOutside": false,
|
|
|
|
|
"selectedElementIds": Object {
|
|
|
|
|
"id0": false,
|
|
|
|
|
"id0": true,
|
|
|
|
|
},
|
|
|
|
|
"selectedGroupIds": Object {},
|
|
|
|
|
"selectedLinearElement": null,
|
|
|
|
@ -12677,7 +12725,7 @@ Object {
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
exports[`regression tests key x selects freedraw tool: [end of test] element 0 1`] = `
|
|
|
|
|
exports[`regression tests key r selects rectangle tool: [end of test] element 0 1`] = `
|
|
|
|
|
Object {
|
|
|
|
|
"angle": 0,
|
|
|
|
|
"backgroundColor": "transparent",
|
|
|
|
@ -12687,50 +12735,26 @@ Object {
|
|
|
|
|
"height": 10,
|
|
|
|
|
"id": "id0",
|
|
|
|
|
"isDeleted": false,
|
|
|
|
|
"lastCommittedPoint": Array [
|
|
|
|
|
10,
|
|
|
|
|
10,
|
|
|
|
|
],
|
|
|
|
|
"link": null,
|
|
|
|
|
"locked": false,
|
|
|
|
|
"opacity": 100,
|
|
|
|
|
"points": Array [
|
|
|
|
|
Array [
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
],
|
|
|
|
|
Array [
|
|
|
|
|
10,
|
|
|
|
|
10,
|
|
|
|
|
],
|
|
|
|
|
Array [
|
|
|
|
|
10,
|
|
|
|
|
10,
|
|
|
|
|
],
|
|
|
|
|
],
|
|
|
|
|
"pressures": Array [
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
],
|
|
|
|
|
"roughness": 1,
|
|
|
|
|
"seed": 337897,
|
|
|
|
|
"simulatePressure": false,
|
|
|
|
|
"strokeColor": "#000000",
|
|
|
|
|
"strokeSharpness": "round",
|
|
|
|
|
"strokeSharpness": "sharp",
|
|
|
|
|
"strokeStyle": "solid",
|
|
|
|
|
"strokeWidth": 1,
|
|
|
|
|
"type": "freedraw",
|
|
|
|
|
"type": "rectangle",
|
|
|
|
|
"updated": 1,
|
|
|
|
|
"version": 4,
|
|
|
|
|
"versionNonce": 453191,
|
|
|
|
|
"version": 2,
|
|
|
|
|
"versionNonce": 1278240551,
|
|
|
|
|
"width": 10,
|
|
|
|
|
"x": 10,
|
|
|
|
|
"y": 10,
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
exports[`regression tests key x selects freedraw tool: [end of test] history 1`] = `
|
|
|
|
|
exports[`regression tests key r selects rectangle tool: [end of test] history 1`] = `
|
|
|
|
|
Object {
|
|
|
|
|
"recording": false,
|
|
|
|
|
"redoStack": Array [],
|
|
|
|
@ -12752,7 +12776,7 @@ Object {
|
|
|
|
|
"editingLinearElement": null,
|
|
|
|
|
"name": "Untitled-201933152653",
|
|
|
|
|
"selectedElementIds": Object {
|
|
|
|
|
"id0": false,
|
|
|
|
|
"id0": true,
|
|
|
|
|
},
|
|
|
|
|
"selectedGroupIds": Object {},
|
|
|
|
|
"viewBackgroundColor": "#ffffff",
|
|
|
|
@ -12767,43 +12791,19 @@ Object {
|
|
|
|
|
"height": 10,
|
|
|
|
|
"id": "id0",
|
|
|
|
|
"isDeleted": false,
|
|
|
|
|
"lastCommittedPoint": Array [
|
|
|
|
|
10,
|
|
|
|
|
10,
|
|
|
|
|
],
|
|
|
|
|
"link": null,
|
|
|
|
|
"locked": false,
|
|
|
|
|
"opacity": 100,
|
|
|
|
|
"points": Array [
|
|
|
|
|
Array [
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
],
|
|
|
|
|
Array [
|
|
|
|
|
10,
|
|
|
|
|
10,
|
|
|
|
|
],
|
|
|
|
|
Array [
|
|
|
|
|
10,
|
|
|
|
|
10,
|
|
|
|
|
],
|
|
|
|
|
],
|
|
|
|
|
"pressures": Array [
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
0,
|
|
|
|
|
],
|
|
|
|
|
"roughness": 1,
|
|
|
|
|
"seed": 337897,
|
|
|
|
|
"simulatePressure": false,
|
|
|
|
|
"strokeColor": "#000000",
|
|
|
|
|
"strokeSharpness": "round",
|
|
|
|
|
"strokeSharpness": "sharp",
|
|
|
|
|
"strokeStyle": "solid",
|
|
|
|
|
"strokeWidth": 1,
|
|
|
|
|
"type": "freedraw",
|
|
|
|
|
"type": "rectangle",
|
|
|
|
|
"updated": 1,
|
|
|
|
|
"version": 4,
|
|
|
|
|
"versionNonce": 453191,
|
|
|
|
|
"version": 2,
|
|
|
|
|
"versionNonce": 1278240551,
|
|
|
|
|
"width": 10,
|
|
|
|
|
"x": 10,
|
|
|
|
|
"y": 10,
|
|
|
|
@ -12814,9 +12814,9 @@ Object {
|
|
|
|
|
}
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
|
|
exports[`regression tests key x selects freedraw tool: [end of test] number of elements 1`] = `1`;
|
|
|
|
|
exports[`regression tests key r selects rectangle tool: [end of test] number of elements 1`] = `1`;
|
|
|
|
|
|
|
|
|
|
exports[`regression tests key x selects freedraw tool: [end of test] number of renders 1`] = `9`;
|
|
|
|
|
exports[`regression tests key r selects rectangle tool: [end of test] number of renders 1`] = `9`;
|
|
|
|
|
|
|
|
|
|
exports[`regression tests make a group and duplicate it: [end of test] appState 1`] = `
|
|
|
|
|
Object {
|
|
|
|
|