Closed delebedev closed 8 years ago
Hi @garnett! Thank you for your collaboration.
I have to change the spinner behaviour a bit because the changes you made in UndoRedo
. Now instead to have the first state with the loading: true
I set it to false
and send the SHOW_SPINNER action right after the initial state is created. Otherwise if we keep going clicking in the Undo button we would ended up with the spinner in the screen.
Thanks again!
Pull request does two small things:
UndoRedo
component code: library correctly handles corner cases internallyonMouseDown
andonClick
, if you tap 'Undo' after it, it rolled back only one of the actions causing colored pixel to remain colored.P.S. tests were failing for me before this change.