Changeset 260502 in webkit
- Timestamp:
- Apr 21, 2020 9:27:28 PM (4 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r260386 r260502 1 2020-04-21 Devin Rousso <drousso@apple.com> 2 3 Web Inspector: REGRESSION(r255396): Graphics: viewing a shader program hides the navigation sidebar 4 https://bugs.webkit.org/show_bug.cgi?id=210838 5 6 Reviewed by Joseph Pecoraro. 7 8 * UserInterface/Views/CanvasSidebarPanel.js: 9 (WI.CanvasSidebarPanel.prototype.canShowRepresentedObject): 10 Include `WI.ShaderProgram` in the list of displayable represented objects. 11 12 * UserInterface/Base/Main.js: 13 (WI.tabContentViewClassForRepresentedObject): 14 * UserInterface/Views/GraphicsTabContentView.js: 15 (WI.GraphicsTabContentView.prototype.canShowRepresentedObject): 16 Update the list of represented objects that are displayable by the Graphics Tab. 17 18 * UserInterface/Views/GraphicsOverviewContentView.css: 19 (.content-view.graphics-overview > section > .header): 20 (.content-view.graphics-overview > section:not(:first-of-type) > .header): Deleted. 21 Drive-by: add a top border to the first section when overscrolling. 22 23 * UserInterface/Views/CanvasOverviewContentView.css: 24 (.content-view.canvas-overview > .content-view.canvas > .preview > .message-text-view): Added. 25 Drive-by: ensure that the "No Preview Available" view doesn't overlap the section header. 26 1 27 2020-04-20 Devin Rousso <drousso@apple.com> 2 28 -
trunk/Source/WebInspectorUI/UserInterface/Base/Main.js
r260113 r260502 1398 1398 return WI.AuditTabContentView; 1399 1399 1400 if (representedObject instanceof WI.Canvas || representedObject instanceof WI.ShaderProgram || representedObject instanceof WI.Recording || representedObject instanceof WI.Animation) 1400 if (representedObject instanceof WI.CanvasCollection 1401 || representedObject instanceof WI.Canvas 1402 || representedObject instanceof WI.Recording 1403 || representedObject instanceof WI.ShaderProgram 1404 || representedObject instanceof WI.AnimationCollection 1405 || representedObject instanceof WI.Animation) 1401 1406 return WI.GraphicsTabContentView; 1402 1407 -
trunk/Source/WebInspectorUI/UserInterface/Views/CanvasOverviewContentView.css
r256774 r260502 145 145 .content-view.canvas-overview > .content-view.canvas > .preview > .message-text-view { 146 146 position: static; 147 z-index: 0; 147 148 } 148 149 -
trunk/Source/WebInspectorUI/UserInterface/Views/CanvasSidebarPanel.js
r255396 r260502 239 239 { 240 240 return representedObject instanceof WI.Canvas 241 || representedObject instanceof WI.ShaderProgram 241 242 || representedObject instanceof WI.Recording; 242 243 } -
trunk/Source/WebInspectorUI/UserInterface/Views/GraphicsOverviewContentView.css
r255396 r260502 44 44 align-items: center; 45 45 position: sticky; 46 top: 0;46 top: -1px; 47 47 z-index: 1; 48 48 min-height: var(--navigation-bar-height); 49 margin-top: -1px; 49 50 -webkit-padding-start: 8px; 50 51 background-color: hsl(0, 0%, 97%); 52 border-top: 1px solid var(--border-color); 51 53 border-bottom: 1px solid var(--border-color); 52 }53 54 .content-view.graphics-overview > section:not(:first-of-type) > .header {55 border-top: 1px solid var(--border-color);56 54 } 57 55 -
trunk/Source/WebInspectorUI/UserInterface/Views/GraphicsTabContentView.js
r259101 r260502 113 113 return representedObject instanceof WI.CanvasCollection 114 114 || representedObject instanceof WI.Canvas 115 || representedObject instanceof WI.RecordingCollection116 115 || representedObject instanceof WI.Recording 117 || representedObject instanceof WI.ShaderProgramCollection118 116 || representedObject instanceof WI.ShaderProgram 119 117 || representedObject instanceof WI.AnimationCollection
Note: See TracChangeset
for help on using the changeset viewer.