Ver Fonte

made the onEvent better

JimMarlowe há 8 anos atrás
pai
commit
9770ec1f53
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      Script/Packages/Atomic/UI.json

+ 1 - 1
Script/Packages/Atomic/UI.json

@@ -23,7 +23,7 @@
 		],
 		"UIWidget": [
 		    "getWidget<T extends UIWidget>(id: string): T;",
-		    "onEvent: (data:any) => void;",
+		    "onEvent: (eventData:UIWidgetEvent) => void;",
 		    "onChanged: () => void;"
 		]
 	}