mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-17 14:30:32 +02:00
debugging iOS
This commit is contained in:
@@ -196,6 +196,7 @@ export const ShapesSwitcher = ({
|
||||
setDeviceType: (obj: Partial<DeviceType>) => void;
|
||||
}) => {
|
||||
const penDetected = useDeviceType().penDetected;
|
||||
app.setState({ toastMessage: penDetected ? "penOn" : "penOff" }); //debug iOS
|
||||
return (
|
||||
<>
|
||||
{SHAPES.map(({ value, icon, key }, index) => {
|
||||
|
Reference in New Issue
Block a user