Compare commits
	
		
			5 Commits
		
	
	
		
			nightly-v2
			...
			franknoiro
		
	
	| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
| e1da72a0ae | Update common points to reflect empty zoom-to-fit | |||
| ec2d1999a7 | fmt | |||
| 95683f1cc1 | A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu) | |||
| f48f1c21c1 | A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu) | |||
| 5cdf2de89a | Reset camera position when artifact graph is cleared | 
|  | @ -46,9 +46,9 @@ document.addEventListener('mousemove', (e) => | |||
| const deg = (Math.PI * 2) / 360 | ||||
|  | ||||
| const commonPoints = { | ||||
|   startAt: '[7.19, -9.7]', | ||||
|   num1: 7.25, | ||||
|   num2: 14.44, | ||||
|   startAt: '[0.75, -1.01]', | ||||
|   num1: 0.75, | ||||
|   num2: 1.5, | ||||
| } | ||||
|  | ||||
| test.afterEach(async ({ context, page }, testInfo) => { | ||||
|  |  | |||
| Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 29 KiB | 
| Before Width: | Height: | Size: 49 KiB After Width: | Height: | Size: 47 KiB | 
| Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 35 KiB | 
| Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 29 KiB | 
| Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 29 KiB | 
|  | @ -366,7 +366,7 @@ export const modelingMachine = createMachine( | |||
|               'Artifact graph emptied': 'hidePlanes', | ||||
|             }, | ||||
|  | ||||
|             entry: 'show default planes', | ||||
|             entry: ['show default planes', 'reset camera position'], | ||||
|           }, | ||||
|         }, | ||||
|  | ||||
|  | @ -1063,6 +1063,8 @@ export const modelingMachine = createMachine( | |||
|         sketchEnginePathId: '', | ||||
|         sketchPlaneId: '', | ||||
|       }), | ||||
|       'reset camera position': () => | ||||
|         sceneInfra.camControls.resetCameraPosition(), | ||||
|       'set new sketch metadata': assign((_, { data }) => ({ | ||||
|         sketchDetails: data, | ||||
|       })), | ||||
|  |  | |||
