Skip to content

Commit 56e285c

Browse files
committed
Bugfix: Use NativEvent instead of MouseEvent
1 parent a9a6805 commit 56e285c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: dygraphs-gwt/src/main/java/com/github/timeu/dygraphsgwt/client/callbacks/PointClickCallback.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package com.github.timeu.dygraphsgwt.client.callbacks;
22

3+
import com.google.gwt.dom.client.NativeEvent;
34
import com.google.gwt.event.dom.client.MouseEvent;
45
import jsinterop.annotations.JsFunction;
56

@@ -15,5 +16,5 @@ public interface PointClickCallback {
1516
* @param event Mousevent
1617
* @param point Point that was clicked
1718
*/
18-
void onClick(MouseEvent event,Point point);
19+
void onClick(NativeEvent event, Point point);
1920
}

0 commit comments

Comments
 (0)