defunkt / Zen

Distraction free writing for Atom.
http://atom.io/packages/Zen
MIT License
193 stars 54 forks source link

Typewriter scrolling doesn't allow select drag of text #90

Open nabsiddiqui opened 8 years ago

nabsiddiqui commented 8 years ago

The typewriter scrolling feature seems to try to continue to center text even if select dragging text. This makes it very difficult to edit when Zen is toggled on since selecting text moves the mouse to the center of the screen. Is there a way to turn off typewriter scrolling after mouse click and reenable when any key on the keyboard is pressed?

mcmahanp commented 7 years ago

Agree on this. I think it makes more sense if the centering does not react to mouse clicks or drags (the same way it does not react to moving the cursor using the arrow keys).

Other typewriter-style tools I have used only recenter when text is added or deleted to the document. Is this possible in Atom?

braver commented 7 years ago

If anyone wants to submit a PR I'll pull it, but I'm not going to mess with this feature myself.