Debug resizing plugins panel.

This commit is contained in:
Julia Radzhabova 2016-08-01 12:33:30 +03:00
parent 954d86022e
commit 9403710f56

View file

@ -266,12 +266,12 @@ define([
this.api.asc_pluginButtonClick(-1); this.api.asc_pluginButtonClick(-1);
}, },
onPluginMouseUp: function(e) { onPluginMouseUp: function(x, y) {
Common.NotificationCenter.trigger('frame:mouseup', e); Common.NotificationCenter.trigger('frame:mouseup', jQuery.Event("mouseup", { pageX: x, pageY: y } ));
}, },
onPluginMouseMove: function(e) { onPluginMouseMove: function(x, y) {
Common.NotificationCenter.trigger('frame:mousemove', e); Common.NotificationCenter.trigger('frame:mousemove', jQuery.Event("mousemove", { pageX: x, pageY: y } ));
} }
}, Common.Controllers.Plugins || {})); }, Common.Controllers.Plugins || {}));