johnno1962 / GitDiff

Highlights deltas against git repo in Xcode
MIT License
891 stars 54 forks source link

Remove 1sec delay before showing undo button #49

Closed dev4dev closed 8 years ago

dev4dev commented 8 years ago

Hi, is it possible to remove this delay? [self performSelector:@selector(showUndo) withObject:nil afterDelay:1.]; Because it's weird, especially when you want to place breakpoint at the beginning of changed block, and right before you click on Gutter View, there Undo Button appear and all your changes gone...and you get heart attack...and then press CMD+Z... Thank you.

johnno1962 commented 8 years ago

Hi, I’ve reduced this delay to .1 seconds. Lets see what the feedback is.

johnno1962 commented 8 years ago

I’ve had to revert this to one second but it is now a preference if you upgrade. https://github.com/johnno1962/GitDiff/issues/50

dev4dev commented 8 years ago

and maybe it could be moved in some other place? like one line higher, so not to overlap edited block at all?

p.s. thanx for great plugin :smile_cat: