mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-09-10 11:00:41 +02:00
refactor: DRY out and simplify setting active tool from toolbar (#7079)
This commit is contained in:
@@ -87,7 +87,7 @@ export const MobileMenu = ({
|
||||
appState={appState}
|
||||
interactiveCanvas={interactiveCanvas}
|
||||
activeTool={appState.activeTool}
|
||||
setAppState={setAppState}
|
||||
app={app}
|
||||
onImageAction={({ pointerType }) => {
|
||||
onImageAction({
|
||||
insertOnCanvasDirectly: pointerType !== "mouse",
|
||||
|
Reference in New Issue
Block a user