1
0
mirror of https://github.com/excalidraw/excalidraw.git synced 2024-11-10 11:35:52 +01:00
Virtual whiteboard for sketching hand-drawn like diagrams
Go to file
Gasim Gasimzada 862231da4f Make all operations on elements array immutable (#283)
* 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>
2020-01-09 16:22:04 +01:00
.github Adding open collective sponsor (#275) 2020-01-08 13:04:13 -08:00
public Move octocat to the front (#160) 2020-01-05 09:58:47 -08:00
src Make all operations on elements array immutable (#283) 2020-01-09 16:22:04 +01:00
.gitignore remove static/ from git & ignore (#265) 2020-01-08 19:18:17 +01:00
CONTRIBUTING.md Make all operations on elements array immutable (#283) 2020-01-09 16:22:04 +01:00
LICENSE Add MIT License (#176) 2020-01-05 13:09:29 -08:00
package-lock.json Add IDs to elements (#236) 2020-01-07 23:49:39 +04:00
package.json prevent commit on eslint warnings & fix lint (#268) 2020-01-08 20:08:43 +01:00
README.md Center element on paste (#248) 2020-01-09 12:34:46 +01:00
tsconfig.json TS, Prettier, Eslint (#39) 2020-01-02 11:03:48 -08:00