mirror of
				https://github.com/excalidraw/excalidraw.git
				synced 2025-11-03 20:34:40 +01:00 
			
		
		
		
	refactor: rename elementType to activeTool and make it an object (#4968)
* refactor: rename elementType to activeTool * update docs * fix snap * update activeToll to be an object and review fixes * fix tests * fix
This commit is contained in:
		@@ -2,6 +2,9 @@
 | 
			
		||||
 | 
			
		||||
exports[`exportToSvg with default arguments 1`] = `
 | 
			
		||||
Object {
 | 
			
		||||
  "activeTool": Object {
 | 
			
		||||
    "type": "selection",
 | 
			
		||||
  },
 | 
			
		||||
  "collaborators": Map {},
 | 
			
		||||
  "currentChartType": "bar",
 | 
			
		||||
  "currentItemBackgroundColor": "transparent",
 | 
			
		||||
@@ -24,7 +27,6 @@ Object {
 | 
			
		||||
  "editingGroupId": null,
 | 
			
		||||
  "editingLinearElement": null,
 | 
			
		||||
  "elementLocked": false,
 | 
			
		||||
  "elementType": "selection",
 | 
			
		||||
  "errorMessage": null,
 | 
			
		||||
  "exportBackground": true,
 | 
			
		||||
  "exportEmbedScene": false,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user