mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
debugging iOS
This commit is contained in:
parent
4dec449516
commit
93bd035d03
1 changed files with 1 additions and 0 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue