kopia lustrzana https://github.com/Tldraw/Tldraw
Update apps/docs/content/docs/editor.mdx
Co-authored-by: Mitja Bezenšek <mitja.bezensek@gmail.com>pull/3282/head
rodzic
b6201b046e
commit
0aab30c24e
|
@ -275,7 +275,7 @@ Whether the camera is locked. When the camera is locked, the camera will not mov
|
|||
|
||||
### `constraints`
|
||||
|
||||
By default the camera is free to move anywhere on the infinite canvas. However, you may provide the camera with a `constraints` object that constrains the camera based on a relationship between a `bounds` (in page space) and the viewport (in screen space).
|
||||
By default the camera is free to move anywhere on the infinite canvas. However, you may provide the camera with a `constraints` object that constrains the camera based on a relationship between `bounds` (in page space) and the `viewport` (in screen space).
|
||||
|
||||
### `constraints.bounds`
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue