mirror of
https://github.com/excalidraw/excalidraw.git
synced 2024-11-10 11:35:52 +01:00
862231da4f
* Make scene functions return array instead of mutate array - Not all functions were changes; so the given argument was a new array to some * Make data restoration functions immutable - Make mutations in App component * Make history actions immutable * Fix an issue in change property that was causing elements to be removed * mark elements params as readonly & remove unnecessary copying * Make `clearSelection` return a new array * Perform Id comparisons instead of reference comparisons in onDoubleClick * Allow deselecting items with SHIFT key - Refactor hit detection code * Fix a bug in element selection and revert drag functionality Co-authored-by: David Luzar <luzar.david@gmail.com>
28 lines
709 B
Markdown
28 lines
709 B
Markdown
# Contributing
|
|
|
|
## Setup
|
|
|
|
### Option 1 - Manual
|
|
|
|
1. Fork and clone the repo
|
|
1. Run `npm install` to install dependencies
|
|
1. Create a branch for your PR with `git checkout -b your-branch-name`
|
|
|
|
> To keep `master` branch pointing to remote repository and make
|
|
> pull requests from branches on your fork. To do this, run:
|
|
>
|
|
> ```sh
|
|
> git remote add upstream https://github.com/excalidraw/excalidraw.git
|
|
> git fetch upstream
|
|
> git branch --set-upstream-to=upstream/master master
|
|
> ```
|
|
|
|
### Option 2 - Codesandbox
|
|
|
|
1. Go to https://codesandbox.io/s/github/excalidraw/excalidraw
|
|
1. Connect your Github account
|
|
1. Go to Git tab on left side
|
|
1. Tap on `Fork Sandbox`
|
|
1. Write your code
|
|
1. Commit and PR automatically
|