allow to supply canvas offsets from upstream (#2271)

This commit is contained in:
David Luzar
2020-10-23 19:06:16 +02:00
committed by GitHub
parent 499a60309f
commit 72a3450c99
6 changed files with 140 additions and 101 deletions

View File

@ -150,6 +150,8 @@ function ExcalidrawApp() {
<Excalidraw
width={dimensions.width}
height={dimensions.height}
offsetLeft={0}
offsetTop={0}
onChange={saveDebounced}
initialData={initialState.data}
user={initialState.user}