Skip to content

Commit

Permalink
add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
riknoll committed Oct 15, 2024
1 parent 9875b81 commit 13fcc35
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ const FUNCTION_DECLARATION_MIXIN: FunctionDeclarationMixin = {
},

async focusLastEditorAsync_(this: FunctionDeclarationBlock) {
// The argument editor block might still be rendering.
// Wait for the render queue to finish so that the centerOnBlock
// function is able to correctly position the editor scroll.
await Blockly.renderManagement.finishQueuedRenders();

if (this.inputList.length > 0) {
Expand Down

0 comments on commit 13fcc35

Please sign in to comment.