Title: [220898] trunk/Source/WebInspectorUI
Revision
220898
Author
[email protected]
Date
2017-08-17 20:13:53 -0700 (Thu, 17 Aug 2017)

Log Message

Web Inspector: create better icon for Canvas Path navigation item
https://bugs.webkit.org/show_bug.cgi?id=175274

Reviewed by Joseph Pecoraro.

* UserInterface/Images/Path.svg: Added.
* UserInterface/Views/RecordingContentView.js:
(WI.RecordingContentView):

Modified Paths

Added Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (220897 => 220898)


--- trunk/Source/WebInspectorUI/ChangeLog	2017-08-18 02:17:28 UTC (rev 220897)
+++ trunk/Source/WebInspectorUI/ChangeLog	2017-08-18 03:13:53 UTC (rev 220898)
@@ -1,3 +1,14 @@
+2017-08-17  Matt Baker  <[email protected]>
+
+        Web Inspector: create better icon for Canvas Path navigation item
+        https://bugs.webkit.org/show_bug.cgi?id=175274
+
+        Reviewed by Joseph Pecoraro.
+
+        * UserInterface/Images/Path.svg: Added.
+        * UserInterface/Views/RecordingContentView.js:
+        (WI.RecordingContentView):
+
 2017-08-17  Nikita Vasilyev  <[email protected]>
 
         Web Inspector: Styles: replace "Enter Class Name" with "Add New Class"

Added: trunk/Source/WebInspectorUI/UserInterface/Images/Path.svg (0 => 220898)


--- trunk/Source/WebInspectorUI/UserInterface/Images/Path.svg	                        (rev 0)
+++ trunk/Source/WebInspectorUI/UserInterface/Images/Path.svg	2017-08-18 03:13:53 UTC (rev 220898)
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright © 2017 Apple Inc. All rights reserved. -->
+<svg xmlns="http://www.w3.org/2000/svg" id="root" version="1.1" viewBox="0 0 16 16">
+    <circle stroke="currentColor" fill="none" cx="3" cy="13" r="1.5"/>
+    <circle stroke="currentColor" fill="none" cx="13" cy="3" r="1.5"/>
+    <path stroke="currentColor" fill="none" d="M 3 12 S 3 2 8 8 c 5.44 6.52 5 -4 5 -4"/>
+</svg>

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/RecordingContentView.js (220897 => 220898)


--- trunk/Source/WebInspectorUI/UserInterface/Views/RecordingContentView.js	2017-08-18 02:17:28 UTC (rev 220897)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/RecordingContentView.js	2017-08-18 03:13:53 UTC (rev 220898)
@@ -41,7 +41,7 @@
             if (WI.RecordingContentView.supportsCanvasPathDebugging()) {
                 this._pathContext = null;
 
-                this._showPathButtonNavigationItem = new WI.ActivateButtonNavigationItem("show-path", WI.UIString("Show Path"), WI.UIString("Hide Path"), "Images/PaintFlashing.svg", 13, 13);
+                this._showPathButtonNavigationItem = new WI.ActivateButtonNavigationItem("show-path", WI.UIString("Show Path"), WI.UIString("Hide Path"), "Images/Path.svg", 16, 16);
                 this._showPathButtonNavigationItem.addEventListener(WI.ButtonNavigationItem.Event.Clicked, this._showPathButtonClicked, this);
                 this._showPathButtonNavigationItem.activated = !!WI.settings.showCanvasPath.value;
             }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to