diff --git a/core/blockly.js b/core/blockly.js
index 3d5e89d64..e31fed091 100644
--- a/core/blockly.js
+++ b/core/blockly.js
@@ -86,7 +86,7 @@ Blockly.HSV_VALUE = 0.65;
* Sprited icons and images.
*/
Blockly.SPRITE = {
- width: 64,
+ width: 84,
height: 92,
url: 'sprites.png'
};
diff --git a/core/inject.js b/core/inject.js
index c201ad0d6..ee3afebb8 100644
--- a/core/inject.js
+++ b/core/inject.js
@@ -243,25 +243,6 @@ Blockly.createDom_ = function(container) {
Blockly.createSvgElement('feComposite',
{'in': 'SourceGraphic', 'in2': 'specOut', 'operator': 'arithmetic',
'k1': 0, 'k2': 1, 'k3': 1, 'k4': 0}, filter);
- /*
-
-
-
-
-
-
-
-
- */
- filter = Blockly.createSvgElement('filter',
- {'id': 'blocklyTrashcanShadowFilter'}, defs);
- Blockly.createSvgElement('feGaussianBlur',
- {'in': 'SourceAlpha', 'stdDeviation': 2, 'result': 'blur'}, filter);
- Blockly.createSvgElement('feOffset',
- {'in': 'blur', 'dx': 1, 'dy': 1, 'result': 'offsetBlur'}, filter);
- feMerge = Blockly.createSvgElement('feMerge', {}, filter);
- Blockly.createSvgElement('feMergeNode', {'in': 'offsetBlur'}, feMerge);
- Blockly.createSvgElement('feMergeNode', {'in': 'SourceGraphic'}, feMerge);
/*
diff --git a/core/trashcan.js b/core/trashcan.js
index dbc3f46c3..4b88fedfa 100644
--- a/core/trashcan.js
+++ b/core/trashcan.js
@@ -151,7 +151,7 @@ Blockly.Trashcan.prototype.top_ = 0;
*/
Blockly.Trashcan.prototype.createDom = function() {
/*
-
+
@@ -160,8 +160,7 @@ Blockly.Trashcan.prototype.createDom = function() {
*/
- this.svgGroup_ = Blockly.createSvgElement('g',
- {'filter': 'url(#blocklyTrashcanShadowFilter)'}, null);
+ this.svgGroup_ = Blockly.createSvgElement('g', {}, null);
var clip = Blockly.createSvgElement('clipPath',
{'id': 'blocklyTrashBodyClipPath'},
@@ -278,7 +277,7 @@ Blockly.Trashcan.prototype.animateLid_ = function() {
(Blockly.RTL ? -lidAngle : lidAngle) + ', ' +
(Blockly.RTL ? 4 : this.WIDTH_ - 4) + ', ' +
(this.LID_HEIGHT_ - 2) + ')');
- var opacity = goog.math.lerp(0.2, 0.4, this.lidOpen_);
+ var opacity = goog.math.lerp(0.4, 0.8, this.lidOpen_);
this.svgGroup_.style.opacity = opacity;
if (this.lidOpen_ > 0 && this.lidOpen_ < 1) {
this.lidTask_ = goog.Timer.callOnce(this.animateLid_, 20, this);
diff --git a/media/sprites.png b/media/sprites.png
index 6e1f4d2b9..bb5ceeed0 100644
Binary files a/media/sprites.png and b/media/sprites.png differ
diff --git a/media/sprites.svg b/media/sprites.svg
new file mode 100644
index 000000000..63e55bab8
--- /dev/null
+++ b/media/sprites.svg
@@ -0,0 +1,93 @@
+
+