Changeset 223931 in webkit
- Timestamp:
- Oct 24, 2017, 3:11:59 PM (8 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 3 edited
-
ChangeLog (modified) (1 diff)
-
UserInterface/Views/ConsoleDrawer.js (modified) (1 diff)
-
UserInterface/Views/Main.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r223929 r223931 1 2017-10-24 Joseph Pecoraro <pecoraro@apple.com> 2 3 Web Inspector: Console Drawer resizing doesn't match cursor position 4 https://bugs.webkit.org/show_bug.cgi?id=178753 5 <rdar://problem/35160484> 6 7 Reviewed by Brian Burg. 8 9 * UserInterface/Views/ConsoleDrawer.js: 10 (WI.ConsoleDrawer.prototype._updateDrawerHeight): 11 Drive-by fix an early return that would never have worked. 12 13 * UserInterface/Views/Main.css: 14 (#content): 15 Give the #content a flex grow of 1. This causes the space to grow as it 16 already was but now it does not affect the size of the fixed height sibling. 17 1 18 2017-10-24 Eric Carlson <eric.carlson@apple.com> 2 19 -
trunk/Source/WebInspectorUI/UserInterface/Views/ConsoleDrawer.js
r221338 r223931 148 148 const maximumHeight = this.element.parentNode.offsetHeight - 100; 149 149 150 height = Number.constrain(height, minimumHeight, maximumHeight);151 if ( height === this.element.style.height)150 let heightCSSValue = Number.constrain(height, minimumHeight, maximumHeight) + "px"; 151 if (this.element.style.height === heightCSSValue) 152 152 return; 153 153 154 this.element.style.height = height + "px";154 this.element.style.height = heightCSSValue; 155 155 156 156 this.dispatchEventToListeners(WI.ConsoleDrawer.Event.Resized); -
trunk/Source/WebInspectorUI/UserInterface/Views/Main.css
r223694 r223931 152 152 display: flex; 153 153 height: 100%; /* This reduces paint areas when typing in the console. http://webkit.org/b/145324 */ 154 flex: 1; 154 155 } 155 156
Note:
See TracChangeset
for help on using the changeset viewer.