Skip to content

Commit

Permalink
Merge pull request #3256 from rachel-fenichel/cp_3202
Browse files Browse the repository at this point in the history
Cherry-pick #3202 and bump patch version
  • Loading branch information
rachel-fenichel authored Oct 15, 2019
2 parents 15a6fa7 + 09687cb commit 921e00b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions blockly_compressed.js

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

10 changes: 5 additions & 5 deletions core/dropdowndiv.js
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ Blockly.DropDownDiv.showPositionedByBlock = function(field, block,
*/
Blockly.DropDownDiv.showPositionedByField = function(field,
opt_onHide, opt_secondaryYOffset) {
var position = field.fieldGroup_.getBoundingClientRect();
var position = field.getSvgRoot().getBoundingClientRect();
// If we can fit it, render below the block.
var primaryX = position.left + position.width / 2;
var primaryY = position.bottom;
Expand Down Expand Up @@ -574,11 +574,11 @@ Blockly.DropDownDiv.hide = function() {
Blockly.DropDownDiv.animateOutTimer_ =
setTimeout(function() {
Blockly.DropDownDiv.hideWithoutAnimation();
if (Blockly.DropDownDiv.onHide_) {
Blockly.DropDownDiv.onHide_();
Blockly.DropDownDiv.onHide_ = null;
}
}, Blockly.DropDownDiv.ANIMATION_TIME * 1000);
if (Blockly.DropDownDiv.onHide_) {
Blockly.DropDownDiv.onHide_();
Blockly.DropDownDiv.onHide_ = null;
}
};

/**
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.20191014.0",
"version": "3.20191014.1",
"description": "Blockly is a library for building visual programming editors.",
"keywords": [
"blockly"
Expand Down

0 comments on commit 921e00b

Please sign in to comment.