Virtual whiteboard for sketching hand-drawn like diagrams
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
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>
5 years ago
.github Adding open collective sponsor (#275) 5 years ago
public
src Make all operations on elements array immutable (#283) 5 years ago
.gitignore remove static/ from git & ignore (#265) 5 years ago
CONTRIBUTING.md Make all operations on elements array immutable (#283) 5 years ago
LICENSE Add MIT License (#176) 5 years ago
README.md Center element on paste (#248) 5 years ago
package-lock.json Add IDs to elements (#236) 5 years ago
package.json prevent commit on eslint warnings & fix lint (#268) 5 years ago
tsconfig.json