Nathan Sobo fd2ed9a1bc Prevent scroll event feedback loops after scrolling via the model layer
When scrolling via the model layer, such as happens on autoscroll due to
moving the cursor, we update the scroll position of the fake vertical
scrollbar manually. When we receive the scroll event that results from
this, we want to do nothing. The best way to determine whether we're
getting a "real" scroll event from the user or feedback from setting
the scrollTop ourselves is to compare the scrollTop to what's in the
model. If the values are equal, there's no need to request an animation
frame to assign it. This improves performance.
2014-04-22 17:09:04 -06:00
2014-04-02 08:58:19 -07:00
2014-04-17 18:32:22 -07:00
2014-04-22 17:09:04 -06:00
2014-04-22 17:09:04 -06:00
2014-04-21 09:32:53 -07:00
2014-04-02 08:57:55 -07:00
2014-03-04 10:19:20 -08:00
2013-08-14 14:05:35 -07:00
2014-03-25 15:40:43 +08:00
2014-04-02 14:03:31 -07:00
2014-04-22 17:09:03 -06:00
2014-02-24 17:38:49 -08:00

Atom — The hackable editor

Atom

Check out our guides and API documentation.

Installing

Download the latest Atom release.

Atom will automatically update when a new release is available.

Building

Follow the instructions in the build docs.

Description
No description provided
Readme 447 MiB
Languages
JavaScript 88.3%
Less 8.7%
CoffeeScript 2.8%
Shell 0.1%