Commit b3efffda authored by Tebjan Halm's avatar Tebjan Halm
Browse files

fixed signature

parent f7a82ddb
...@@ -639,8 +639,8 @@ namespace Svg ...@@ -639,8 +639,8 @@ namespace Svg
{ {
var rpcID = this.ID + "/"; var rpcID = this.ID + "/";
caller.RegisterAction<float, float, int>(rpcID + "onclick", OnClick); caller.RegisterAction<float, float, int, int>(rpcID + "onclick", OnClick);
caller.RegisterAction<float, float, int>(rpcID + "onmousedown", OnMouseDown); caller.RegisterAction<float, float, int, int>(rpcID + "onmousedown", OnMouseDown);
caller.RegisterAction<float, float, int>(rpcID + "onmouseup", OnMouseUp); caller.RegisterAction<float, float, int>(rpcID + "onmouseup", OnMouseUp);
caller.RegisterAction(rpcID + "onmouseover", OnMouseOver); caller.RegisterAction(rpcID + "onmouseover", OnMouseOver);
caller.RegisterAction(rpcID + "onmouseout", OnMouseOut); caller.RegisterAction(rpcID + "onmouseout", OnMouseOut);
...@@ -680,7 +680,7 @@ namespace Svg ...@@ -680,7 +680,7 @@ namespace Svg
var handler = MouseDown; var handler = MouseDown;
if (handler != null) if (handler != null)
{ {
handler(this, new MouseArg { x = x, y = y, Button = button}); handler(this, new MouseArg { x = x, y = y, Button = button, ClickCount = clickCount});
} }
} }
......
Supports Markdown
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