Fixed a typo ("Commet" => "Comment")

This commit is contained in:
Nathan Dinsmore 2014-05-01 15:09:20 -04:00
parent 9be7d2e86e
commit 2f38cde712

View file

@ -432,11 +432,11 @@ return true; // xxx disable this check for now; it was causing confusion at Scra
g.lineStyle(2, commentLineColor);
for (var i:int = 0; i < numChildren; i++) {
var c:ScratchComment = getChildAt(i) as ScratchComment;
if (c && c.blockRef) updateCommetConnection(c, g);
if (c && c.blockRef) updateCommentConnection(c, g);
}
}
private function updateCommetConnection(c:ScratchComment, g:Graphics):void {
private function updateCommentConnection(c:ScratchComment, g:Graphics):void {
// Update the position of the given comment based on the position of the
// block it references and update the line connecting it to that block.
if (!c.blockRef) return;