mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Implement shouldComponentUpdate for ScrollbarComponent
It checks that the incoming scrollTop/Left and scrollHeight/Width differ from their current values. The scrollTop/Left value are updated in the component properties to always reflect the state of the DOM when scrolling or when assigning a new value.
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
"temp": "0.5.0",
|
||||
"text-buffer": "^2.1.0",
|
||||
"theorist": "1.x",
|
||||
"underscore-plus": "^1.1.2",
|
||||
"underscore-plus": "^1.2.0",
|
||||
"vm-compatibility-layer": "0.1.0"
|
||||
},
|
||||
"packageDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user