Skip to content

Commit

Permalink
Reposition the visualReport when we are done
Browse files Browse the repository at this point in the history
  • Loading branch information
yuri-kiss authored Sep 20, 2024
1 parent d3aa3bb commit b1812d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/containers/blocks.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,7 @@ class Blocks extends React.Component {
onVisualReport (data) {
this.workspace.reportValueWithCallback(data.id, '', (div) => {
div.querySelector('.valueReportBox').appendChild(this.ScratchBlocks.Highlight.highlight(data.value, data.type));
this.ScratchBlocks.DropDownDiv.showPositionedByBlock(this.ScratchBlocks.DropDownDiv.DIV_, this.workspace.getBlockById(this.ScratchBlocks.DropDownDiv._blockId));
});
}
getToolboxXML () {
Expand Down

0 comments on commit b1812d3

Please sign in to comment.