Deprecated: Assigning the return value of new by reference is deprecated in /home/bluestat/public_html/source/index.php on line 477
From 5f8cbc1b1b918cca8f5cf9281c6e0805f33476f2 Mon Sep 17 00:00:00 2001
From: Robert Sesek
Date: Sat, 11 Dec 2010 16:01:32 -0500
Subject: [PATCH] Lighten the background gradient.
---
RGB Converter.wdgt/Widget.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/RGB Converter.wdgt/Widget.js b/RGB Converter.wdgt/Widget.js
index 5511a37..1fef885 100644
--- a/RGB Converter.wdgt/Widget.js
+++ b/RGB Converter.wdgt/Widget.js
@@ -93,12 +93,12 @@ function Draw()
context.clearRect(0, 0, canvas.width, canvas.height);
if (backShowing_) {
- // Draw the sheen gradient.
+ // Draw dark baground gradient.
context.beginPath();
context.arc(center[0], center[1], radius, 0, Math.PI * 2, true);
var gradient = context.createLinearGradient(0, 0, 0, canvas.height);
gradient.addColorStop(0, 'rgb(200, 200, 200)');
- gradient.addColorStop(1, 'rgb(0, 0, 0)');
+ gradient.addColorStop(1, 'rgb(30, 30, 30)');
context.fillStyle = gradient;
context.fill();
context.closePath();
--
1.7.11.3