Commit 9403710f authored by Julia Radzhabova's avatar Julia Radzhabova

Debug resizing plugins panel.

parent 954d8602
...@@ -266,12 +266,12 @@ define([ ...@@ -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 || {}));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment