Changeset 92461 in webkit
- Timestamp:
- Aug 5, 2011 12:51:18 AM (13 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r92459 r92461 1 2011-08-05 Pavel Feldman <pfeldman@google.com> 2 3 Web Inspector: do not delay scroll event handling - scroll is already async. 4 https://bugs.webkit.org/show_bug.cgi?id=65693 5 6 Reviewed by Yury Semikhatsky. 7 8 * inspector/front-end/TextViewer.js: 9 (WebInspector.TextViewer.prototype._syncScroll): 10 1 11 2011-08-05 Mark Pilgrim <pilgrim@chromium.org> 2 12 -
trunk/Source/WebCore/inspector/front-end/TextViewer.js
r90743 r92461 201 201 _syncScroll: function() 202 202 { 203 // Async call due to performance reasons. 204 setTimeout(function() { 205 var mainElement = this._mainPanel.element; 206 var gutterElement = this._gutterPanel.element; 207 // Handle horizontal scroll bar at the bottom of the main panel. 208 this._gutterPanel.syncClientHeight(mainElement.clientHeight); 209 gutterElement.scrollTop = mainElement.scrollTop; 210 }.bind(this), 0); 203 var mainElement = this._mainPanel.element; 204 var gutterElement = this._gutterPanel.element; 205 // Handle horizontal scroll bar at the bottom of the main panel. 206 this._gutterPanel.syncClientHeight(mainElement.clientHeight); 207 gutterElement.scrollTop = mainElement.scrollTop; 211 208 }, 212 209
Note: See TracChangeset
for help on using the changeset viewer.