Changeset 141270 in webkit
- Timestamp:
- Jan 30, 2013 7:12:28 AM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r141269 r141270 1 2013-01-30 Vladislav Kaznacheev <kaznacheev@chromium.org> 2 3 Web Inspector: Sidebar splitter is invisible in Elements and Sources panels 4 https://bugs.webkit.org/show_bug.cgi?id=108331 5 6 Reviewed by Pavel Feldman. 7 8 This was a regression caused by https://bugs.webkit.org/show_bug.cgi?id=108181. 9 The splitter element did not get the correct class at the initialization. 10 11 * inspector/front-end/SidebarView.js: 12 (WebInspector.SidebarView): 13 (WebInspector.SidebarView.prototype._updateSidebarPosition): 14 1 15 2013-01-30 Dmitry Zvorygin <zvorygin@chromium.org> 2 16 -
trunk/Source/WebCore/inspector/front-end/SidebarView.js
r141249 r141270 47 47 this._sidebarPosition = sidebarPosition || WebInspector.SidebarView.SidebarPosition.Start; 48 48 this.setSecondIsSidebar(this._sidebarPosition === WebInspector.SidebarView.SidebarPosition.End); 49 this._updateSidebarPosition( );49 this._updateSidebarPosition(true); 50 50 } 51 51 … … 99 99 }, 100 100 101 _updateSidebarPosition: function() 101 /** 102 * @param {boolean=} force 103 */ 104 _updateSidebarPosition: function(force) 102 105 { 103 106 var verticalSplit = true; … … 105 108 verticalSplit = this.element.offsetHeight < this.element.offsetWidth; 106 109 107 if ( verticalSplit === this.isVertical())110 if (!force && verticalSplit === this.isVertical()) 108 111 return; 109 112
Note: See TracChangeset
for help on using the changeset viewer.