Skip to content

Commit

Permalink
im just confused
Browse files Browse the repository at this point in the history
  • Loading branch information
jwklong committed Nov 15, 2024
1 parent a30e55a commit bdeda86
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions core/block_render.js
Original file line number Diff line number Diff line change
Expand Up @@ -1525,10 +1525,10 @@ Blockly.BlockSvg.prototype.renderDrawLeft_ = function(steps) {
} else if (this.edgeShape_ === Blockly.OUTPUT_SHAPE_LEAF) {
// Draw a half-leaf.
steps.push(
`a ${this.edgeShapeWidth_} ${this.edgeShapeWidth_} 0 0 0 ${this.edgeShapeWidth_} -${this.edgeShapeWidth_} ` +
`l 0 -${this.edgeShapeWidth_ * 0.6} ` +
`a ${this.edgeShapeWidth_ * 0.4} ${this.edgeShapeWidth_ * 0.4} 0 0 0 -${this.edgeShapeWidth_ * 0.4} -${this.edgeShapeWidth_ * 0.4} ` +
`l ${this.edgeShapeWidth_ * 0.6} 0`
`a ${this.edgeShapeWidth_} ${this.edgeShapeWidth_} 0 0 0 -${this.edgeShapeWidth_} ${this.edgeShapeWidth_} ` +
`l 0 ${this.edgeShapeWidth_ * 0.6} ` +
`a ${this.edgeShapeWidth_ * 0.4} ${this.edgeShapeWidth_ * 0.4} 0 0 0 ${this.edgeShapeWidth_ * 0.4} ${this.edgeShapeWidth_ * 0.4} ` +
`l -${this.edgeShapeWidth_ * 0.6} 0`
);
}
}
Expand All @@ -1555,10 +1555,10 @@ Blockly.BlockSvg.prototype.drawEdgeShapeRight_ = function(steps) {
} else if (this.edgeShape_ === Blockly.OUTPUT_SHAPE_LEAF) {
// Draw a half-leaf.
steps.push(
`a ${this.edgeShapeWidth_} ${this.edgeShapeWidth_} 0 0 0 -${this.edgeShapeWidth_} ${this.edgeShapeWidth_} ` +
`l 0 ${this.edgeShapeWidth_ * 0.6} ` +
`a ${this.edgeShapeWidth_ * 0.4} ${this.edgeShapeWidth_ * 0.4} 0 0 0 ${this.edgeShapeWidth_ * 0.4} ${this.edgeShapeWidth_ * 0.4} ` +
`l -${this.edgeShapeWidth_ * 0.6} 0`
`a ${this.edgeShapeWidth_} ${this.edgeShapeWidth_} 0 0 0 ${this.edgeShapeWidth_} -${this.edgeShapeWidth_} ` +
`l 0 -${this.edgeShapeWidth_ * 0.6} ` +
`a ${this.edgeShapeWidth_ * 0.4} ${this.edgeShapeWidth_ * 0.4} 0 0 0 -${this.edgeShapeWidth_ * 0.4} -${this.edgeShapeWidth_ * 0.4} ` +
`l ${this.edgeShapeWidth_ * 0.6} 0`
);
}
}
Expand Down

0 comments on commit bdeda86

Please sign in to comment.