Pointer Event fixes ensuring they replace all mouse events, and fix comment focusing issue.

This commit is contained in:
Sam El-Husseini
2018-03-02 15:01:58 -08:00
parent 7ea0e1b8c3
commit b32dbcdb94
7 changed files with 72 additions and 45 deletions

View File

@@ -402,7 +402,7 @@ Blockly.WorkspaceSvg.prototype.createDom = function(opt_backgroundClass) {
if (!this.isFlyout) {
Blockly.bindEventWithChecks_(this.svgGroup_, 'mousedown', this,
this.onMouseDown_);
this.onMouseDown_, false, true);
if (this.options.zoomOptions && this.options.zoomOptions.wheel) {
// Mouse-wheel.
Blockly.bindEventWithChecks_(this.svgGroup_, 'wheel', this,