We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9be7d2e commit 2f38cdeCopy full SHA for 2f38cde
src/uiwidgets/ScriptsPane.as
@@ -432,11 +432,11 @@ return true; // xxx disable this check for now; it was causing confusion at Scra
432
g.lineStyle(2, commentLineColor);
433
for (var i:int = 0; i < numChildren; i++) {
434
var c:ScratchComment = getChildAt(i) as ScratchComment;
435
- if (c && c.blockRef) updateCommetConnection(c, g);
+ if (c && c.blockRef) updateCommentConnection(c, g);
436
}
437
438
439
- private function updateCommetConnection(c:ScratchComment, g:Graphics):void {
+ private function updateCommentConnection(c:ScratchComment, g:Graphics):void {
440
// Update the position of the given comment based on the position of the
441
// block it references and update the line connecting it to that block.
442
if (!c.blockRef) return;
0 commit comments