excalidraw/src
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
..
components Make panels collapsible (#239) 2020-01-08 13:06:36 -08:00
element Make all operations on elements array immutable (#283) 2020-01-09 16:22:04 +01:00
renderer Make all operations on elements array immutable (#283) 2020-01-09 16:22:04 +01:00
scene Make all operations on elements array immutable (#283) 2020-01-09 16:22:04 +01:00
history.ts Make all operations on elements array immutable (#283) 2020-01-09 16:22:04 +01:00
index.tsx Make all operations on elements array immutable (#283) 2020-01-09 16:22:04 +01:00
keys.ts Extract app and keys (#276) 2020-01-09 02:00:59 +04:00
math.ts Extract element functions into modules (#207) 2020-01-06 19:34:22 +04:00
random.ts Move math and random files into their respective modules (#198) 2020-01-06 10:33:22 +01:00
react-app-env.d.ts TS, Prettier, Eslint (#39) 2020-01-02 11:03:48 -08:00
shapes.tsx Extract components and shapes into their respective modules (#212) 2020-01-06 21:29:44 +04:00
styles.scss Make panels collapsible (#239) 2020-01-08 13:06:36 -08:00
types.ts Center element on paste (#248) 2020-01-09 12:34:46 +01:00
utils.ts Contenteditable wysiwyg (#274) 2020-01-09 02:04:53 +05:00
zindex.test.ts Add support for forward (#100) 2020-01-03 21:38:48 -08:00
zindex.ts Make all operations on elements array immutable (#283) 2020-01-09 16:22:04 +01:00