Changeset 187700 in webkit
- Timestamp:
- Jul 31, 2015 6:32:02 PM (9 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r187692 r187700 1 2015-07-31 Devin Rousso <drousso@apple.com> 2 3 Web Inspector: Scrolling "jumps" in console 4 https://bugs.webkit.org/show_bug.cgi?id=147482 5 6 Reviewed by Joseph Pecoraro. 7 8 Removed focus call on messageElement. 9 10 * UserInterface/Views/LogContentView.js: 11 (WebInspector.LogContentView): 12 (WebInspector.LogContentView.prototype._mousedown): Deleted. 13 (WebInspector.LogContentView.prototype._didFocus): Deleted. 14 (WebInspector.LogContentView.prototype._didBlur): Deleted. 15 1 16 2015-07-31 Joseph Pecoraro <pecoraro@apple.com> 2 17 -
trunk/Source/WebInspectorUI/UserInterface/Views/LogContentView.js
r187528 r187700 43 43 this.messagesElement.setAttribute("role", "log"); 44 44 this.messagesElement.addEventListener("mousedown", this._mousedown.bind(this)); 45 this.messagesElement.addEventListener("focus", this._didFocus.bind(this));46 this.messagesElement.addEventListener("blur", this._didBlur.bind(this));47 45 this.messagesElement.addEventListener("keydown", this._keyDown.bind(this)); 48 46 this.messagesElement.addEventListener("dragstart", this._ondragstart.bind(this), true); … … 410 408 } 411 409 412 if (!this._focused)413 this.messagesElement.focus();414 415 410 this._mouseDownWrapper = event.target.enclosingNodeOrSelfWithClass(WebInspector.LogContentView.ItemWrapperStyleClassName); 416 411 this._mouseDownShiftKey = event.shiftKey; … … 731 726 732 727 this._performSearch(); 733 },734 735 _didFocus: function(event)736 {737 this._focused = true;738 },739 740 _didBlur: function(event)741 {742 this._focused = false;743 728 }, 744 729
Note: See TracChangeset
for help on using the changeset viewer.