mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-10-25 08:54:20 +02:00
disable detectPositionChange by default
This commit is contained in:
@@ -325,7 +325,6 @@ const ExcalidrawWrapper = () => {
|
|||||||
langCode={langCode}
|
langCode={langCode}
|
||||||
renderCustomStats={renderCustomStats}
|
renderCustomStats={renderCustomStats}
|
||||||
detectScroll={false}
|
detectScroll={false}
|
||||||
detectPositionChange={false}
|
|
||||||
/>
|
/>
|
||||||
{excalidrawAPI && <CollabWrapper excalidrawAPI={excalidrawAPI} />}
|
{excalidrawAPI && <CollabWrapper excalidrawAPI={excalidrawAPI} />}
|
||||||
{errorMessage && (
|
{errorMessage && (
|
||||||
|
|||||||
@@ -31,7 +31,7 @@ const Excalidraw = (props: ExcalidrawProps) => {
|
|||||||
renderCustomStats,
|
renderCustomStats,
|
||||||
onPaste,
|
onPaste,
|
||||||
detectScroll = true,
|
detectScroll = true,
|
||||||
detectPositionChange = true,
|
detectPositionChange = false,
|
||||||
} = props;
|
} = props;
|
||||||
|
|
||||||
const canvasActions = props.UIOptions?.canvasActions;
|
const canvasActions = props.UIOptions?.canvasActions;
|
||||||
|
|||||||
Reference in New Issue
Block a user