mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2024-12-22 21:42:30 -05:00
Merge pull request #424 from fsih/fixUndo
Listen to undo state in fixedTools
This commit is contained in:
commit
dcae9a249f
1 changed files with 2 additions and 1 deletions
|
@ -301,7 +301,8 @@ FixedToolsComponent.propTypes = {
|
||||||
|
|
||||||
const mapStateToProps = state => ({
|
const mapStateToProps = state => ({
|
||||||
format: state.scratchPaint.format,
|
format: state.scratchPaint.format,
|
||||||
selectedItems: state.scratchPaint.selectedItems
|
selectedItems: state.scratchPaint.selectedItems,
|
||||||
|
undoState: state.scratchPaint.undo
|
||||||
});
|
});
|
||||||
|
|
||||||
export default connect(
|
export default connect(
|
||||||
|
|
Loading…
Reference in a new issue