debugging iOS
This commit is contained in:
parent
fb449b6758
commit
7bcc1f2a41
@ -218,8 +218,8 @@ export const ShapesSwitcher = ({
|
||||
aria-keyshortcuts={shortcut}
|
||||
data-testid={value}
|
||||
onChange={({ pointerType }) => {
|
||||
setAppState({ toastMessage: penDetected ? "penOn" : "penOff" }); //debug iOS
|
||||
if (!penDetected && pointerType === "pen") {
|
||||
setAppState({ toastMessage: "change mode" }); //debug iOS
|
||||
setAppState({ penMode: true });
|
||||
setDeviceType({ penDetected: true });
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user