mirror of
https://github.com/google/blockly.git
synced 2026-02-01 13:10:22 +01:00
Always open flyout fields are 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