From 26828d6c08e5e82ccdbbcba959f971921cefa3c3 Mon Sep 17 00:00:00 2001 From: Neil Fraser Date: Wed, 16 Dec 2015 18:22:42 -0800 Subject: [PATCH] Simplify gear icon. --- core/mutator.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/mutator.js b/core/mutator.js index b77b0122695..e21b1033a34 100644 --- a/core/mutator.js +++ b/core/mutator.js @@ -70,12 +70,12 @@ Blockly.Mutator.prototype.drawIcon_ = function(group) { 'rx': '4', 'ry': '4', 'height': '16', 'width': '16'}, group); - // Gear. + // Gear teeth. Blockly.createSvgElement('path', {'class': 'blocklyIconSymbol', - 'd': 'm4.203,7.296c-0.039,0.2226 -0.063,0.45 -0.063,0.684 0,0.234 0.024,0.462 0.063,0.684l-0.9204,0.6774 -0.1098,0.4098 0.9,1.5588 0.4104,0.1104 1.0428,-0.4572c0.3486,0.294 0.75,0.525 1.1874,0.6828l0.1266,1.134 0.3,0.3h1.8l0.3,-0.2994 0.1266,-1.1376c0.4362,-0.1584 0.8364,-0.3888 1.185,-0.6822l1.0464,0.4584 0.4092,-0.1104 0.9,-1.5588 -0.1104,-0.4104 -0.9204,-0.6774c0.0396,-0.2208 0.0636,-0.4488 0.0636,-0.6822 0,-0.2334 -0.024,-0.4614 -0.0636,-0.6834l0.9204,-0.6774 0.1104,-0.4104 -0.9,-1.5588 -0.4092,-0.1092 -1.0464,0.4584c-0.348,-0.2928 -0.7488,-0.5238 -1.185,-0.6822l-0.1266,-1.1376 -0.3,-0.2994h-1.8l-0.3,0.3 -0.126,1.1352c-0.4374,0.1572 -0.8388,0.3888 -1.1874,0.6822l-1.0434,-0.4566 -0.4098,0.1098 -0.8994,1.5588 0.108,0.4092z'}, + 'd': 'm4.203,7.296 0,1.368 -0.92,0.677 -0.11,0.41 0.9,1.559 0.41,0.11 1.043,-0.457 1.187,0.683 0.127,1.134 0.3,0.3 1.8,0 0.3,-0.299 0.127,-1.138 1.185,-0.682 1.046,0.458 0.409,-0.11 0.9,-1.559 -0.11,-0.41 -0.92,-0.677 0,-1.366 0.92,-0.677 0.11,-0.41 -0.9,-1.559 -0.409,-0.109 -1.046,0.458 -1.185,-0.682 -0.127,-1.138 -0.3,-0.299 -1.8,0 -0.3,0.3 -0.126,1.135 -1.187,0.682 -1.043,-0.457 -0.41,0.11 -0.899,1.559 0.108,0.409z'}, group); - // Axel hole. + // Axle hole. Blockly.createSvgElement('circle', {'class': 'blocklyIconShape', 'r': '2.7', 'cx': '8', 'cy': '8'}, group);