Title: [173996] trunk/Source/WebInspectorUI
Revision
173996
Author
[email protected]
Date
2014-09-25 23:03:05 -0700 (Thu, 25 Sep 2014)

Log Message

Web Inspector: Show type info icon is blurry
https://bugs.webkit.org/show_bug.cgi?id=137125

Reviewed by Darin Adler.

* UserInterface/Images/NavigationItemTypes.svg:
* UserInterface/Views/ScriptContentView.js:
(WebInspector.ScriptContentView):
* UserInterface/Views/TextContentView.js:
(WebInspector.TextContentView):
* UserInterface/Views/TextResourceContentView.js:
(WebInspector.TextResourceContentView):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (173995 => 173996)


--- trunk/Source/WebInspectorUI/ChangeLog	2014-09-26 05:37:29 UTC (rev 173995)
+++ trunk/Source/WebInspectorUI/ChangeLog	2014-09-26 06:03:05 UTC (rev 173996)
@@ -1,3 +1,18 @@
+2014-09-25  Timothy Hatcher  <[email protected]>
+
+        Web Inspector: Show type info icon is blurry
+        https://bugs.webkit.org/show_bug.cgi?id=137125
+
+        Reviewed by Darin Adler.
+
+        * UserInterface/Images/NavigationItemTypes.svg:
+        * UserInterface/Views/ScriptContentView.js:
+        (WebInspector.ScriptContentView):
+        * UserInterface/Views/TextContentView.js:
+        (WebInspector.TextContentView):
+        * UserInterface/Views/TextResourceContentView.js:
+        (WebInspector.TextResourceContentView):
+
 2014-09-25  Saam Barati  <[email protected]>
 
         Web Inspector: console.assert(bitString) TypeSet:50 

Modified: trunk/Source/WebInspectorUI/UserInterface/Images/NavigationItemTypes.svg (173995 => 173996)


--- trunk/Source/WebInspectorUI/UserInterface/Images/NavigationItemTypes.svg	2014-09-26 05:37:29 UTC (rev 173995)
+++ trunk/Source/WebInspectorUI/UserInterface/Images/NavigationItemTypes.svg	2014-09-26 06:03:05 UTC (rev 173996)
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <!-- Copyright © 2014 Apple Inc. All rights reserved. -->
-<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 14">
-    <rect class="stroked" fill="none" stroke="black" x="0.5" y="1.0" width="12" height="12" rx="2"/>
+<svg version="1.1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 13 14">
+    <rect class="stroked" fill="none" stroke="black" x="0.5" y="0.5" width="12" height="13" rx="2"/>
     <path class="stroked" fill="none" stroke="black" stroke-linecap="square" d="M 6.5 5.5 L 6.5 9.5 M 4.0 4.5 L 9.0 4.5"/>
 </svg>

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/ScriptContentView.js (173995 => 173996)


--- trunk/Source/WebInspectorUI/UserInterface/Views/ScriptContentView.js	2014-09-26 05:37:29 UTC (rev 173995)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/ScriptContentView.js	2014-09-26 06:03:05 UTC (rev 173996)
@@ -60,10 +60,9 @@
     this._prettyPrintButtonNavigationItem.addEventListener(WebInspector.ButtonNavigationItem.Event.Clicked, this._togglePrettyPrint, this);
     this._prettyPrintButtonNavigationItem.enabled = false; // Enabled when the text editor is populated with content.
 
-    var showTypesImageSize = WebInspector.Platform.isLegacyMacOS ? 15 : 16;
     var toolTipTypes = WebInspector.UIString("Show type information");
     var activatedToolTipTypes = WebInspector.UIString("Hide type information");
-    this._showTypesButtonNavigationItem = new WebInspector.ActivateButtonNavigationItem("show-types", toolTipTypes, activatedToolTipTypes, "Images/NavigationItemTypes.svg", showTypesImageSize, showTypesImageSize);
+    this._showTypesButtonNavigationItem = new WebInspector.ActivateButtonNavigationItem("show-types", toolTipTypes, activatedToolTipTypes, "Images/NavigationItemTypes.svg", 13, 14);
     this._showTypesButtonNavigationItem.addEventListener(WebInspector.ButtonNavigationItem.Event.Clicked, this._toggleTypeAnnotations, this);
     this._showTypesButtonNavigationItem.enabled = false;
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/TextContentView.js (173995 => 173996)


--- trunk/Source/WebInspectorUI/UserInterface/Views/TextContentView.js	2014-09-26 05:37:29 UTC (rev 173995)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/TextContentView.js	2014-09-26 06:03:05 UTC (rev 173996)
@@ -51,10 +51,9 @@
     this._prettyPrintButtonNavigationItem.addEventListener(WebInspector.ButtonNavigationItem.Event.Clicked, this._togglePrettyPrint, this);
     this._prettyPrintButtonNavigationItem.enabled = this._textEditor.canBeFormatted();
 
-    var showTypesImageSize = WebInspector.Platform.isLegacyMacOS ? 15 : 16;
     var toolTipTypes = WebInspector.UIString("Show type information");
     var activatedToolTipTypes = WebInspector.UIString("Hide type information");
-    this._showTypesButtonNavigationItem = new WebInspector.ActivateButtonNavigationItem("show-types", toolTipTypes, activatedToolTipTypes, "Images/NavigationItemTypes.svg", showTypesImageSize, showTypesImageSize);
+    this._showTypesButtonNavigationItem = new WebInspector.ActivateButtonNavigationItem("show-types", toolTipTypes, activatedToolTipTypes, "Images/NavigationItemTypes.svg", 13, 14);
     this._showTypesButtonNavigationItem.enabled = false;
 };
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/TextResourceContentView.js (173995 => 173996)


--- trunk/Source/WebInspectorUI/UserInterface/Views/TextResourceContentView.js	2014-09-26 05:37:29 UTC (rev 173995)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/TextResourceContentView.js	2014-09-26 06:03:05 UTC (rev 173996)
@@ -52,10 +52,9 @@
     this._prettyPrintButtonNavigationItem.addEventListener(WebInspector.ButtonNavigationItem.Event.Clicked, this._togglePrettyPrint, this);
     this._prettyPrintButtonNavigationItem.enabled = false; // Enabled when the text editor is populated with content.
 
-    var showTypesImageSize = WebInspector.Platform.isLegacyMacOS ? 15 : 16;
     var toolTipTypes = WebInspector.UIString("Show type information");
     var activatedToolTipTypes = WebInspector.UIString("Hide type information");
-    this._showTypesButtonNavigationItem = new WebInspector.ActivateButtonNavigationItem("show-types", toolTipTypes, activatedToolTipTypes, "Images/NavigationItemTypes.svg", showTypesImageSize, showTypesImageSize);
+    this._showTypesButtonNavigationItem = new WebInspector.ActivateButtonNavigationItem("show-types", toolTipTypes, activatedToolTipTypes, "Images/NavigationItemTypes.svg", 13, 14);
     this._showTypesButtonNavigationItem.addEventListener(WebInspector.ButtonNavigationItem.Event.Clicked, this._toggleTypeAnnotations, this);
     this._showTypesButtonNavigationItem.enabled = false;
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to