diff --git a/demos/custom-fields/turtle/field_turtle.js b/demos/custom-fields/turtle/field_turtle.js index bb555001a..8c268b4d5 100644 --- a/demos/custom-fields/turtle/field_turtle.js +++ b/demos/custom-fields/turtle/field_turtle.js @@ -236,9 +236,9 @@ CustomFields.FieldTurtle.prototype.render_ = function() { break; case 'Mask': this.mask_.style.display = ''; - this.turtleGroup_.setAttribute('transform', 'translate(0,1.2)'); + this.turtleGroup_.setAttribute('transform', 'translate(0,6)'); this.textElement_.setAttribute('transform', - 'translate(' + this.TEXT_OFFSET_X + ',4)'); + 'translate(' + this.TEXT_OFFSET_X + ',12)'); break; case 'Propeller': this.propeller_.style.display = ''; @@ -631,7 +631,7 @@ CustomFields.FieldTurtle.prototype.createView_ = function() { this.mask_ = Blockly.utils.dom.createSvgElement('image', { 'width': '50', - 'height': '14' + 'height': '24' }, scaleGroup); this.mask_.setAttributeNS('http://www.w3.org/1999/xlink', 'xlink:href', 'media/mask.svg'); diff --git a/demos/custom-fields/turtle/index.html b/demos/custom-fields/turtle/index.html index 4cbb5671e..975d20c8e 100644 --- a/demos/custom-fields/turtle/index.html +++ b/demos/custom-fields/turtle/index.html @@ -63,7 +63,7 @@ s + style="width: 200px; height: 480px;">