|
@@ -4,7 +4,7 @@ exports[`given element A and group of elements B and given both are selected whe
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -540,7 +540,7 @@ exports[`given element A and group of elements B and given both are selected whe
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -1082,7 +1082,7 @@ exports[`regression tests Cmd/Ctrl-click exclusively select element under pointe
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -1989,7 +1989,7 @@ exports[`regression tests Drags selected element when hitting only bounding box
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -2219,7 +2219,7 @@ exports[`regression tests adjusts z order when grouping: [end of test] appState
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -2752,7 +2752,7 @@ exports[`regression tests alt-drag duplicates an element: [end of test] appState
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -3041,7 +3041,7 @@ exports[`regression tests arrow keys: [end of test] appState 1`] = `
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -3225,7 +3225,7 @@ exports[`regression tests can drag element that covers another element, while an
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -3741,7 +3741,7 @@ exports[`regression tests change the properties of a shape: [end of test] appSta
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -4009,7 +4009,7 @@ exports[`regression tests click on an element and drag it: [dragged] appState 1`
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -4239,7 +4239,7 @@ exports[`regression tests click on an element and drag it: [end of test] appStat
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -4515,7 +4515,7 @@ exports[`regression tests click to select a shape: [end of test] appState 1`] =
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -4803,7 +4803,7 @@ exports[`regression tests click-drag to select a group: [end of test] appState 1
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -5221,7 +5221,7 @@ exports[`regression tests deselects group of selected elements on pointer down w
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -5562,7 +5562,7 @@ exports[`regression tests deselects group of selected elements on pointer up whe
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -5876,7 +5876,7 @@ exports[`regression tests deselects selected element on pointer down when pointe
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -6114,7 +6114,7 @@ exports[`regression tests deselects selected element, on pointer up, when click
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -6300,7 +6300,7 @@ exports[`regression tests double click to edit a group: [end of test] appState 1
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -6828,7 +6828,7 @@ exports[`regression tests drags selected elements from point inside common bound
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -7193,7 +7193,7 @@ exports[`regression tests draw every type of shape: [end of test] appState 1`] =
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "freedraw",
|
|
|
},
|
|
@@ -9545,7 +9545,7 @@ exports[`regression tests given a group of selected elements with an element tha
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -9964,7 +9964,7 @@ exports[`regression tests given a selected element A and a not selected element
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -10253,7 +10253,7 @@ exports[`regression tests given selected element A with lower z-index than unsel
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -10501,7 +10501,7 @@ exports[`regression tests given selected element A with lower z-index than unsel
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -10822,7 +10822,7 @@ exports[`regression tests key 2 selects rectangle tool: [end of test] appState 1
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -11006,7 +11006,7 @@ exports[`regression tests key 3 selects diamond tool: [end of test] appState 1`]
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -11190,7 +11190,7 @@ exports[`regression tests key 4 selects ellipse tool: [end of test] appState 1`]
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -11374,7 +11374,7 @@ exports[`regression tests key 5 selects arrow tool: [end of test] appState 1`] =
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -11611,7 +11611,7 @@ exports[`regression tests key 6 selects line tool: [end of test] appState 1`] =
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -11848,7 +11848,7 @@ exports[`regression tests key 7 selects freedraw tool: [end of test] appState 1`
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "freedraw",
|
|
|
},
|
|
@@ -12076,7 +12076,7 @@ exports[`regression tests key a selects arrow tool: [end of test] appState 1`] =
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -12313,7 +12313,7 @@ exports[`regression tests key d selects diamond tool: [end of test] appState 1`]
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -12497,7 +12497,7 @@ exports[`regression tests key l selects line tool: [end of test] appState 1`] =
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -12734,7 +12734,7 @@ exports[`regression tests key o selects ellipse tool: [end of test] appState 1`]
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -12918,7 +12918,7 @@ exports[`regression tests key p selects freedraw tool: [end of test] appState 1`
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "freedraw",
|
|
|
},
|
|
@@ -13146,7 +13146,7 @@ exports[`regression tests key r selects rectangle tool: [end of test] appState 1
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -13330,7 +13330,7 @@ exports[`regression tests make a group and duplicate it: [end of test] appState
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -14169,7 +14169,7 @@ exports[`regression tests noop interaction after undo shouldn't create history e
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -14458,7 +14458,7 @@ exports[`regression tests pinch-to-zoom works: [end of test] appState 1`] = `
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -14569,7 +14569,7 @@ exports[`regression tests rerenders UI on language change: [end of test] appStat
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "rectangle",
|
|
|
},
|
|
@@ -14678,7 +14678,7 @@ exports[`regression tests shift click on selected element should deselect it on
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -14865,7 +14865,7 @@ exports[`regression tests shift-click to multiselect, then drag: [end of test] a
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -15233,7 +15233,7 @@ exports[`regression tests should group elements and ungroup them: [end of test]
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -15864,7 +15864,7 @@ exports[`regression tests should show fill icons when element has non transparen
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -16090,7 +16090,7 @@ exports[`regression tests single-clicking on a subgroup of a selected group shou
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -17053,7 +17053,7 @@ exports[`regression tests spacebar + drag scrolls the canvas: [end of test] appS
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -17162,7 +17162,7 @@ exports[`regression tests supports nested groups: [end of test] appState 1`] = `
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -18021,7 +18021,7 @@ exports[`regression tests switches from group of selected elements to another el
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -18493,7 +18493,7 @@ exports[`regression tests switches selected element on pointer down: [end of tes
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -18834,7 +18834,7 @@ exports[`regression tests two-finger scroll works: [end of test] appState 1`] =
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -18945,7 +18945,7 @@ exports[`regression tests undo/redo drawing an element: [end of test] appState 1
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|
|
@@ -19516,7 +19516,7 @@ exports[`regression tests updates fontSize & fontFamily appState: [end of test]
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "text",
|
|
|
},
|
|
@@ -19625,7 +19625,7 @@ exports[`regression tests zoom hotkeys: [end of test] appState 1`] = `
|
|
|
Object {
|
|
|
"activeTool": Object {
|
|
|
"customType": null,
|
|
|
- "lastActiveToolBeforeEraser": null,
|
|
|
+ "lastActiveTool": null,
|
|
|
"locked": false,
|
|
|
"type": "selection",
|
|
|
},
|