atg / chocolat-public

Public bug tracker for the private chocolat project
http://chocolatapp.com
182 stars 4 forks source link

Undo sometimes messes up (3.2.4) #1777

Open johnmap opened 8 years ago

johnmap commented 8 years ago

Sorry for title, not really sure how else to put it, and this is going to be a pain to replicate.

Sometimes undoing/redoing multiple times will mess up the text that's being transformed, causing stuff like this:

-webkit-transform-origin: 50% 100%;ns  
-moz-tranorm-origin: 50% 100%;sf
-ms-transrm-origin: 50% 100%;fo  
-o-transfm-origin: 50% 100%;or

which of course before being messed up was:

-webkit-transform-origin: 50% 100%;  
-moz-transform-origin: 50% 100%;  
-ms-transform-origin: 50% 100%;  
-o-transform-origin: 50% 100%;

In this particular case it also moved a curly bracket to the wrong place, which with css (and without source control to fall back on) would ofc be a bit of a killer.