Changeset 196187 in webkit
- Timestamp:
- Feb 5, 2016 1:38:44 PM (8 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r196185 r196187 1 2016-02-05 Devin Rousso <dcrousso+webkit@gmail.com> 2 3 Web Inspector: Navigation bar in sidebars should always fit on a single line 4 https://bugs.webkit.org/show_bug.cgi?id=153412 5 <rdar://problem/24318706> 6 7 Reviewed by Timothy Hatcher. 8 9 This happened because the allowed maximum width of the sidebar was greater 10 than the minimum width derived from the currently visible sidebar. 11 12 * UserInterface/Base/Utilities.js: 13 (Number.constrain): 14 Added logic to reverse the values of min and max if max is less than min. 15 1 16 2016-02-05 Timothy Hatcher <timothy@apple.com> 2 17 -
trunk/Source/WebInspectorUI/UserInterface/Base/Utilities.js
r194981 r196187 853 853 value: function(num, min, max) 854 854 { 855 if (max < min) { 856 let temp = max; 857 max = min; 858 min = temp; 859 } 855 860 if (num < min) 856 861 num = min;
Note: See TracChangeset
for help on using the changeset viewer.