Doodle improvements 2 (#176)

* Fix some doodle bugs and added Background color functionality

* added protections against accidental doodle erase, screen size changing

* resolve react warning about 'selected' on <option>
This commit is contained in:
Ondřej Hruška
2017-10-14 12:24:35 +02:00
committed by GitHub
parent 531dadad86
commit cdc22d23b9
5 changed files with 342 additions and 85 deletions

View File

@@ -65,7 +65,9 @@ const initialState = ImmutableMap({
doodle: ImmutableMap({
fg: 'rgb( 0, 0, 0)',
bg: 'rgb(255, 255, 255)',
swapped: false,
mode: 'draw',
size: 'normal',
weight: 2,
opacity: 1,
adaptiveStroke: true,