Commit Graph
5 Commits
Author SHA1 Message Date
Warren SeineandGitHub 4644ca1778 🎨 Use consistent naming (#2029) 2020-08-14 20:14:22 +02:00
Warren SeineandGitHub 14317c2232 🐛 Remove unnecessary class name props (#2027)
It's unused and serialized to `undefined`.
2020-08-14 20:05:29 +02:00
2cb8ba6521 add explanation for why we mutate collaborators state (#2028)
* 🔒 Avoid mutating state

* revert to mutation and add explaining comment

Co-authored-by: dwelle <luzar.david@gmail.com>
2020-08-13 17:20:38 +02:00
Warren SeineandGitHub 5670c47789 🐛 Fix emoji rendering (#2030)
Thanks.
2020-08-13 16:29:33 +02:00
Warren SeineandGitHub 71e7f130bc Generalize color normalization (#1479) (#1483)
Following #1478, a bug was found related to transparent backgrounds. As Excalidraw only supports `transparent` as a valid transparent color, this commits generalizes the use of canvas to normalize color values.

It changes a few details:
- `rgba()` or `hsla()` syntaxes are not accepted anymore
- pasting values goes through the same normalization step, avoiding invalid values
- color validation is not regex-based anymore
- any CSS-valid black color is now accepted (e.g. previously, `rgb(0,0,0)` was rejected)
2020-04-24 11:06:54 -07:00