Fix longpress in flyout; leave debug messages in

This commit is contained in:
Rachel Fenichel
2016-08-31 18:04:27 -07:00
parent 1c025672b3
commit 2774cc1663
5 changed files with 32 additions and 12 deletions

View File

@@ -599,6 +599,7 @@ Blockly.Scrollbar.prototype.setVisible = function(visible) {
* @private
*/
Blockly.Scrollbar.prototype.onMouseDownBar_ = function(e) {
Blockly.clearTouchIdentifier(); // This is really a click.
this.cleanUp_();
if (Blockly.isRightButton(e)) {
// Right-click.