Skip to content

Commit

Permalink
Merge pull request #4422 from alschmiedt/flyout_patch
Browse files Browse the repository at this point in the history
Flyout patch release
  • Loading branch information
alschmiedt authored Oct 30, 2020
2 parents ef8687d + 1150283 commit 85874cd
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions blockly_compressed.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion blockly_compressed.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion core/flyout_horizontal.js
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ Blockly.HorizontalFlyout.prototype.reflowInternal_ = function() {
// is in the correct position relative to the new absolute edge (ie
// toolbox edge).
this.targetWorkspace.translate(
0, this.targetWorkspace.scrollY + flyoutHeight);
this.targetWorkspace.scrollX, this.targetWorkspace.scrollY + flyoutHeight);
}

// Record the height for .getMetrics_ and .position.
Expand Down
2 changes: 1 addition & 1 deletion core/flyout_vertical.js
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ Blockly.VerticalFlyout.prototype.reflowInternal_ = function() {
// is in the correct position relative to the new absolute edge (ie
// toolbox edge).
this.targetWorkspace.translate(
this.targetWorkspace.scrollX + flyoutWidth, 0);
this.targetWorkspace.scrollX + flyoutWidth, this.targetWorkspace.scrollY);
}

// Record the width for .getMetrics_ and .position.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "blockly",
"version": "3.20200924.3",
"version": "3.20200924.4",
"description": "Blockly is a library for building visual programming editors.",
"keywords": [
"blockly"
Expand Down

0 comments on commit 85874cd

Please sign in to comment.