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

@@ -8,7 +8,7 @@ const mapStateToProps = state => ({
const mapDispatchToProps = dispatch => ({
onOpenCanvas () {
dispatch(openModal('DOODLE', {}));
dispatch(openModal('DOODLE', { noEsc: true }));
},
});