Web Inspector: Rendering Frames legend item checkbox colors are too light
authormattbaker@apple.com <mattbaker@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 26 Aug 2015 10:24:30 +0000 (10:24 +0000)
committermattbaker@apple.com <mattbaker@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 26 Aug 2015 10:24:30 +0000 (10:24 +0000)
https://bugs.webkit.org/show_bug.cgi?id=148465

Reviewed by Timothy Hatcher.

* UserInterface/Views/ChartDetailsSectionRow.js:
(WebInspector.ChartDetailsSectionRow.prototype._addCheckboxColorFilter):
Gamma primitive should use an "exponent" attribute instead of "value".
Increased gamma exponent to 1.4.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@188964 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Views/ChartDetailsSectionRow.js

index 6dd1686..41fe7d0 100644 (file)
@@ -1,3 +1,15 @@
+2015-08-26  Matt Baker  <mattbaker@apple.com>
+
+        Web Inspector: Rendering Frames legend item checkbox colors are too light
+        https://bugs.webkit.org/show_bug.cgi?id=148465
+
+        Reviewed by Timothy Hatcher.
+
+        * UserInterface/Views/ChartDetailsSectionRow.js:
+        (WebInspector.ChartDetailsSectionRow.prototype._addCheckboxColorFilter):
+        Gamma primitive should use an "exponent" attribute instead of "value".
+        Increased gamma exponent to 1.4.
+
 2015-08-26  Nikita Vasilyev  <nvasilyev@apple.com>
 
         Web Inspector: Make DOM node attribute changes highlighting less obnoxious
index a2896d8..2c8d21c 100644 (file)
@@ -176,12 +176,12 @@ WebInspector.ChartDetailsSectionRow = class ChartDetailsSectionRow extends WebIn
         {
             let gammaPrimitive = createSVGElement(tagName);
             gammaPrimitive.setAttribute("type", "gamma");
-            gammaPrimitive.setAttribute("value", value);
+            gammaPrimitive.setAttribute("exponent", value);
             return gammaPrimitive;
         }
 
         let componentTransferPrimitive = createSVGElement("feComponentTransfer");
-        componentTransferPrimitive.append(createGammaPrimitive("feFuncR", 1.2), createGammaPrimitive("feFuncG", 1.2), createGammaPrimitive("feFuncB", 1.2));
+        componentTransferPrimitive.append(createGammaPrimitive("feFuncR", 1.4), createGammaPrimitive("feFuncG", 1.4), createGammaPrimitive("feFuncB", 1.4));
         filterElement.append(colorMatrixPrimitive, componentTransferPrimitive);
 
         this._svgFiltersElement.append(filterElement);