Changeset 243424 in webkit
- Timestamp:
- Mar 24, 2019 1:21:13 PM (5 years ago)
- Location:
- trunk/Source/WebInspectorUI
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebInspectorUI/ChangeLog
r243403 r243424 1 2019-03-24 Devin Rousso <drousso@apple.com> 2 3 Web Inspector: Canvas: missing icons for WebGL2 contexts 4 https://bugs.webkit.org/show_bug.cgi?id=196136 5 6 Reviewed by Timothy Hatcher. 7 8 * UserInterface/Views/CanvasSidebarPanel.css: 9 (.sidebar > .panel.navigation.canvas > .navigation-bar > .item.record-start-stop.disabled > .glyph): Added. 10 (.sidebar > .panel.navigation.canvas > .content > .tree-outline .item.canvas:matches(.canvas-2d, .bitmaprenderer) .icon): Added. 11 (.sidebar > .panel.navigation.canvas > .content > .tree-outline .item.canvas:matches(.webgl, .webgl2, .webgpu, .webmetal) .icon): Added. 12 (@media (prefers-color-scheme: dark)): 13 (.sidebar > .panel.navigation.canvas > .navigation-bar > .item.record-start-stop.disabled): Deleted. 14 (.sidebar > .panel.navigation.canvas > .content > .tree-outline .item.canvas.canvas-2d .icon): Deleted. 15 (.sidebar > .panel.navigation.canvas > .content > .tree-outline .item.casnvas.webgl .icon): Deleted. 16 Use the 2D icon for BitmapRenderer and the 3D icon for WebGL2, WebMetals, and WebGPU. 17 Drive-by: the start/stop button text was too dark when disabled in dark mode. 18 19 * UserInterface/Models/Canvas.js: 20 Drive-by: "gpu" => "webgpu", to match the protocol string. 21 1 22 2019-03-22 Devin Rousso <drousso@apple.com> 2 23 -
trunk/Source/WebInspectorUI/UserInterface/Models/Canvas.js
r242759 r243424 413 413 WebGL: "webgl", 414 414 WebGL2: "webgl2", 415 WebGPU: " gpu",415 WebGPU: "webgpu", 416 416 WebMetal: "webmetal", 417 417 }; -
trunk/Source/WebInspectorUI/UserInterface/Views/CanvasSidebarPanel.css
r241875 r243424 31 31 } 32 32 33 .sidebar > .panel.navigation.canvas > .navigation-bar > .item.record-start-stop.disabled {33 .sidebar > .panel.navigation.canvas > .navigation-bar > .item.record-start-stop.disabled > .glyph { 34 34 filter: grayscale(); 35 35 opacity: 0.5; 36 36 } 37 37 38 .sidebar > .panel.navigation.canvas > .content > .tree-outline .item.canvas .canvas-2d.icon {38 .sidebar > .panel.navigation.canvas > .content > .tree-outline .item.canvas:matches(.canvas-2d, .bitmaprenderer) .icon { 39 39 content: url(../Images/Canvas2D.svg); 40 40 } 41 41 42 .sidebar > .panel.navigation.canvas > .content > .tree-outline .item.canvas .webgl.icon {42 .sidebar > .panel.navigation.canvas > .content > .tree-outline .item.canvas:matches(.webgl, .webgl2, .webgpu, .webmetal) .icon { 43 43 content: url(../Images/Canvas3D.svg); 44 44 } … … 101 101 102 102 @media (prefers-color-scheme: dark) { 103 .sidebar > .panel.navigation.canvas > .navigation-bar > .item.record-start-stop.disabled {103 .sidebar > .panel.navigation.canvas > .navigation-bar > .item.record-start-stop.disabled > .glyph { 104 104 filter: grayscale() invert(); 105 105 }
Note: See TracChangeset
for help on using the changeset viewer.