acassaigne / html5slides

Automatically exported from code.google.com/p/html5slides
0 stars 0 forks source link

Backspace doesn't "unbuild" buildable elements that have been built #25

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Build some "buildable" elements on the current slide.
2. Press backspace.

What is the expected output? What do you see instead?

I would expect the buildable elements that have just been built to be 
"unbuilt". Instead, the previous slide is now the current slide. This makes 
going back to some previous content awkward.

What version of the product are you using? On what operating system?

I'm using the latest version of the code with Chrome on Windows XP.

Please provide any additional information below.

I've attached a naive patch below that fixes this issue. I'd like to get your 
comments on this one and get it integrated after a few iterations, if that's 
possible. Thank you! 

Original issue reported on code.google.com by julien.g...@gmail.com on 21 Mar 2012 at 3:33

Attachments: