mirror of
				https://github.com/excalidraw/excalidraw.git
				synced 2025-10-31 02:44:50 +01:00 
			
		
		
		
	debugging iOS
This commit is contained in:
		| @@ -218,8 +218,8 @@ export const ShapesSwitcher = ({ | |||||||
|             aria-keyshortcuts={shortcut} |             aria-keyshortcuts={shortcut} | ||||||
|             data-testid={value} |             data-testid={value} | ||||||
|             onChange={({ pointerType }) => { |             onChange={({ pointerType }) => { | ||||||
|  |               setAppState({ toastMessage: pointerType }); //debug iOS | ||||||
|               if (!penDetected && pointerType === "pen") { |               if (!penDetected && pointerType === "pen") { | ||||||
|                 setAppState({ toastMessage: "change mode" }); //debug iOS |  | ||||||
|                 setAppState({ penMode: true }); |                 setAppState({ penMode: true }); | ||||||
|                 setDeviceType({ penDetected: true }); |                 setDeviceType({ penDetected: true }); | ||||||
|               } |               } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 zsviczian
					zsviczian