From 96d5987db1b45fb2c6740ac054b9c57acd1fc298 Mon Sep 17 00:00:00 2001 From: Neil Fraser Date: Wed, 19 Aug 2015 18:42:35 -0700 Subject: [PATCH] Fix Audio test in IE (issue 272) and fix error when deleting block with warning. --- blockly_compressed.js | 10 +++++----- core/block_svg.js | 6 ++++-- core/workspace_svg.js | 9 +++++++-- 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/blockly_compressed.js b/blockly_compressed.js index 2fa7e761b1..1fd656d47f 100644 --- a/blockly_compressed.js +++ b/blockly_compressed.js @@ -1003,7 +1003,7 @@ a.clientY,this.startDragMetrics=this.getMetrics(),this.startScrollX=this.scrollX Blockly.WorkspaceSvg.prototype.startDrag=function(a,b,c){a=Blockly.mouseToSvg(a,this.options.svg);a.x/=this.scale;a.y/=this.scale;this.dragDeltaX_=b-a.x;this.dragDeltaY_=c-a.y};Blockly.WorkspaceSvg.prototype.moveDrag=function(a){a=Blockly.mouseToSvg(a,this.options.svg);a.x/=this.scale;a.y/=this.scale;return new goog.math.Coordinate(this.dragDeltaX_+a.x,this.dragDeltaY_+a.y)}; Blockly.WorkspaceSvg.prototype.onMouseWheel_=function(a){Blockly.hideChaff(!0);Blockly.terminateDrag_();var b=0