Skip to content

Commit

Permalink
fix silly mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
jwklong committed Nov 15, 2024
1 parent e46ed8f commit 77ad755
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/block_render.js
Original file line number Diff line number Diff line change
Expand Up @@ -1570,7 +1570,7 @@ Blockly.BlockSvg.prototype.renderDrawLeft_ = function(steps) {
} else if (this.edgeShape_ === Blockly.OUTPUT_SHAPE_PLUS) {
// Draw a half-plus.
let unit = 6
let remainingHeight = this.edgeShapeWidth_ - unit * 6
let remainingHeight = this.edgeShapeWidth_ * 2 - unit * 6
steps.push(
`a ${unit} ${unit} 0 0 1 -${unit} -${unit} ` +
`a ${unit} ${unit} 0 0 0 -${unit} -${unit} ` +
Expand Down Expand Up @@ -1614,7 +1614,7 @@ Blockly.BlockSvg.prototype.drawEdgeShapeRight_ = function(steps) {
} else if (this.edgeShape_ === Blockly.OUTPUT_SHAPE_PLUS) {
// Draw a half-plus.
let unit = 6
let remainingHeight = this.edgeShapeWidth_ - unit * 6
let remainingHeight = this.edgeShapeWidth_ * 2 - unit * 6
steps.push(
`a ${unit} ${unit} 0 0 1 ${unit} ${unit} ` +
`a ${unit} ${unit} 0 0 0 ${unit} ${unit} ` +
Expand Down

0 comments on commit 77ad755

Please sign in to comment.