mirror of
https://github.com/google/blockly.git
synced 2026-03-10 07:10:11 +01:00
Merge pull request #1186 from marisaleung/develop_flyoutCLickBug
Bug fix: always open flyout fields are not editable.
This commit is contained in:
@@ -741,7 +741,8 @@ Blockly.Gesture.prototype.isBlockClick_ = function() {
|
||||
Blockly.Gesture.prototype.isFieldClick_ = function() {
|
||||
var fieldEditable = this.startField_ ?
|
||||
this.startField_.isCurrentlyEditable() : false;
|
||||
return fieldEditable && !this.hasExceededDragRadius_ && !this.flyout_;
|
||||
return fieldEditable && !this.hasExceededDragRadius_ && (!this.flyout_ ||
|
||||
!this.flyout_.autoClose);
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user